Skip to content

Commit

Permalink
feat: [admin/dashboard] ajoute les cards qui décompte les jobs et les…
Browse files Browse the repository at this point in the history
… utilisateurs
  • Loading branch information
matthieuaudemard committed May 6, 2023
1 parent e334d42 commit edc5fdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public ResponseEntity<Page<UserDto>> getAll(
return ResponseEntity.ok(users);
}

@GetMapping(GET_TOTAL_USERS)
@GetMapping(GET_ENABLED_USERS_COUNT)
public ResponseEntity<Long> getEnabledUsersCount() {
return ResponseEntity.ok(userService.getEnabledUsersCount());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ public class UserUris {
public static final String GET_PENDING_USER_URI = "/pending";
public static final String ENABLE_USER = "/{username}/enable";
public static final String UPDATE_USER_ROLES = "/{username}/roles";
public static final String GET_TOTAL_USERS = "/total";
public static final String GET_ENABLED_USERS_COUNT = "/total";
}

0 comments on commit edc5fdc

Please sign in to comment.