fix(core): update

This commit is contained in:
2019-09-11 11:56:41 +02:00
parent 24a7b2dbd3
commit 6448516aa0
2 changed files with 33 additions and 1 deletions

View File

@ -113,7 +113,7 @@ export class SmartDataDbDoc<T> {
return returnArray;
}
static async getInstance<T>(filterArg): Promise<T> {
public static async getInstance<T>(filterArg): Promise<T> {
const result = await this.getInstances<T>(filterArg);
if (result && result.length > 0) {
return result[0];