feat: implement Database Manager module with encryption, CRUD operations, and migration management
This commit is contained in:
@ -9,8 +9,8 @@ export class ApiController {
|
||||
) {}
|
||||
|
||||
@Post("token/generate")
|
||||
generateToken(@Body() body: { token: string }) {
|
||||
return this.apiService.generateToken(body.token);
|
||||
generateToken(@Body() body: { id: string }) {
|
||||
return this.apiService.generateToken(body.id);
|
||||
}
|
||||
|
||||
@Delete("token/revoke")
|
||||
|
||||
Reference in New Issue
Block a user