diff --git a/src/types/model.ts b/src/types/model.ts index 4bcba5c..42ab571 100644 --- a/src/types/model.ts +++ b/src/types/model.ts @@ -289,12 +289,11 @@ function replacer(_key: any, value: any) { } } -const loadOwnerOrdersLogger = getLogger("loadOwnerOrders"); - async function loadOwnerOrders( storage: DBService, network: string ): Promise { + const loadOwnerOrdersLogger = getLogger("loadOwnerOrders"); // Get the owner orders const db = storage.getDB(); const str = await db.get(