refactored getAllUsers in frontend to fetch all the users (using backend pagination) (#21)

This commit is contained in:
Art
2021-09-20 18:48:36 +03:00
parent 9d881a840f
commit c331badb59

View File

@ -18,7 +18,7 @@ export class UserService {
public getAllUsers(): Observable<UserPage> {
return this.httpClient
.get<UserPage>(`${this.host}/user`);
.get<UserPage>(`${this.host}/user?size=2147483647`);
}
public addUser(formData: FormData): Observable<User | HttpErrorResponse> {