Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
refactor: Update userApiKeySchema to remove format constraint on toke…
Browse files Browse the repository at this point in the history
…n field
  • Loading branch information
MoizAdnan committed Aug 14, 2024
1 parent e688d3d commit 2b20cf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions packages/common/src/schemas/user/user-api-key.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ export const userApiKeySchema = Type.Object(
id: Type.String({
format: 'uuid'
}),
token: Type.String({
format: 'uuid'
}),
token: Type.String(),
userId: TypedString<UserID>({
format: 'uuid'
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { destroyEngine } from '@etherealengine/ecs/src/Engine'
import { Application } from '../../../declarations'
import { createFeathersKoaApp } from '../../createApp'

describe('identity-provider.service', () => {
describe('identity-provider.test', () => {
let userId: UserID
let accessToken: string
let app: Application
Expand Down

0 comments on commit 2b20cf3

Please sign in to comment.