This commit is contained in:
john 2025-05-18 22:45:27 +02:00
parent 27098ec9fa
commit 4878897306
10 changed files with 268 additions and 32 deletions

View file

@ -1,6 +1,7 @@
import { dispatchMessage } from '../messageBus/messageBus.ts'
import client from '../api/client.ts'
import { ProblemDetails } from '../../types'
import { SignupCode } from './signupCode.ts'
export class AuthService {
constructor() {}
@ -60,6 +61,6 @@ export class AuthService {
throw new Error('error')
}
return res.data.signupCodes
return res.data.signupCodes.map(SignupCode.fromDto)
}
}