Skip to content
Snippets Groups Projects

Resolve "[FRONT] Créer la page : choix des bars"

Merged Hugo BAYOUD requested to merge 1-front-creer-la-page-choix-des-bars into master
10 files
+ 100
45
Compare changes
  • Side-by-side
  • Inline
Files
10
@@ -50,14 +50,14 @@ export class AuthService {
}
public refreshToken(): Observable<string> {
return this.http.get<string>('/api/auth/refresh_token');
return this.http.get<string>('/api/v1/auth/refresh_token');
}
public signup(user: User): Observable<User> {
return this.http.post<User>('/api/auth/signup', user);
return this.http.post<User>('/api/v1/auth/signup', user);
}
public signin(credentials: { email: string, password: string}): Observable<string> {
return this.http.post<string>('/api/auth/signin', credentials);
return this.http.post<string>('/api/v1/auth/signin', credentials);
}
}
Loading