diff --git a/packages/rest/src/utils/agent.ts b/packages/rest/src/utils/agent.ts index 8a5792d3..0840dd02 100644 --- a/packages/rest/src/utils/agent.ts +++ b/packages/rest/src/utils/agent.ts @@ -156,7 +156,7 @@ export const setupAgent = async ({ multiTenant?: boolean }): Promise => { // FIXME: logger should not be enabled by default - // const logger = new TsLogger(LogLevel.off) + const logger = new TsLogger(LogLevel.off) const modules = getAgentModules({ autoAcceptConnections: true, @@ -181,7 +181,7 @@ export const setupAgent = async ({ endpoints, walletConfig: { id: name, key: name }, useDidSovPrefixWhereAllowed: true, - // logger: logger, + logger: logger, autoUpdateStorageOnStartup: true, }, dependencies: agentDependencies, diff --git a/packages/rest/src/utils/response.ts b/packages/rest/src/utils/response.ts index e565a1cd..40f2f43c 100644 --- a/packages/rest/src/utils/response.ts +++ b/packages/rest/src/utils/response.ts @@ -12,5 +12,5 @@ export function apiErrorResponse(error: string | Error | unknown, details?: unkn return { message, details, - } + } satisfies ApiError }