Skip to content

Commit

Permalink
eslint fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Mar 27, 2024
1 parent 3b8fc1f commit 413c0e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/rest/src/utils/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export const setupAgent = async ({
multiTenant?: boolean
}): Promise<RestRootAgent | RestRootAgentWithTenants> => {
// 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,
Expand All @@ -181,7 +181,7 @@ export const setupAgent = async ({
endpoints,
walletConfig: { id: name, key: name },
useDidSovPrefixWhereAllowed: true,
// logger: logger,
logger: logger,
autoUpdateStorageOnStartup: true,
},
dependencies: agentDependencies,
Expand Down
2 changes: 1 addition & 1 deletion packages/rest/src/utils/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export function apiErrorResponse(error: string | Error | unknown, details?: unkn
return {

Check warning on line 12 in packages/rest/src/utils/response.ts

View check run for this annotation

Codecov / codecov/patch

packages/rest/src/utils/response.ts#L12

Added line #L12 was not covered by tests
message,
details,
}
} satisfies ApiError
}

0 comments on commit 413c0e1

Please sign in to comment.