Skip to content
Snippets Groups Projects
Commit 24aef880 authored by Antonin COQUET's avatar Antonin COQUET
Browse files

fix: remove useless varuiable

parent 8dd5f502
No related branches found
No related tags found
3 merge requests!96release V1.10.0,!83Dev,!79feat: add endpoint for unclaimed structure
......@@ -37,8 +37,7 @@ export class AdminController {
@Get('unclaimedStructures')
@ApiOperation({ description: 'Get pending structre for validation' })
public async getUnclaimedStructures(): Promise<UnclaimedStructureDto[]> {
const unclaimedStructures = await this.structuresService.findAllUnclaimed();
return unclaimedStructures;
return await this.structuresService.findAllUnclaimed();
}
@UseGuards(JwtAuthGuard, RolesGuard)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment