Skip to content
Snippets Groups Projects
Commit 39b7cd25 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: syntax

parent 16850ba3
No related branches found
No related tags found
3 merge requests!96release V1.10.0,!55Dev,!50Feat/admin user deletion
...@@ -90,7 +90,6 @@ export class AdminController { ...@@ -90,7 +90,6 @@ export class AdminController {
public async searchUsers(@Body() searchString: { searchString: string }) { public async searchUsers(@Body() searchString: { searchString: string }) {
if (searchString && searchString.searchString.length > 0) if (searchString && searchString.searchString.length > 0)
return this.usersService.searchUsers(searchString.searchString); return this.usersService.searchUsers(searchString.searchString);
else else return this.usersService.findAll();
return this.usersService.findAll();
} }
} }
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