changed api endpoint
This commit is contained in:
parent
6b79878e8d
commit
eba2406db5
|
@ -14,11 +14,12 @@ export class UsersService {
|
|||
}
|
||||
|
||||
loadAllUsers(): Observable<User[]> {
|
||||
return this.http.get<User[]>('https://localhost:7090/api/getAllUsers');
|
||||
|
||||
return this.http.get<User[]>('https://weiferl-web.azurewebsites.net/api/getAllUsers');
|
||||
}
|
||||
|
||||
addNewUser(user: User) {
|
||||
return this.http.post('https://localhost:7090/api/addUser', user);
|
||||
return this.http.post('https://weiferl-web.azurewebsites.net/api/addUser', user);
|
||||
}
|
||||
|
||||
formatDates(users: User[]): User[] {
|
||||
|
|
Loading…
Reference in New Issue
Block a user