signups
This commit is contained in:
parent
27098ec9fa
commit
4878897306
10 changed files with 268 additions and 32 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue