Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel committed Apr 2, 2024
1 parent 023e85b commit a112a14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class EngineSignerConfigService {
return this.engineSignerConfigRepository.save(this.getEngineId(), signerConfig)
}

async getEnginePublicJwk(): Promise<{ id: string; publicJwk: Jwk } | null> {
async getEngineData(): Promise<{ id: string; publicJwk: Jwk } | null> {
const signerConfig = await this.getSignerConfig()

if (signerConfig?.key) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class EngineController {
@UseGuards(ClientSecretGuard)
async getJwk() {
try {
return this.engineSignerConfigService.getEnginePublicJwk()
return this.engineSignerConfigService.getEngineData()
} catch (error) {
return { ok: false }
}
Expand Down

0 comments on commit a112a14

Please sign in to comment.