endpoint anpassen
This commit is contained in:
@@ -8,7 +8,7 @@ import { Review } from '../../core/models/review.model';
|
||||
export class ReviewService {
|
||||
private http = inject(HttpClient);
|
||||
private apiUrl = inject(API_URL);
|
||||
private readonly endpoint = '/AdminReviews';
|
||||
private readonly endpoint = '/admin/AdminReviews';
|
||||
|
||||
getAll(): Observable<Review[]> {
|
||||
return this.http.get<Review[]>(`${this.apiUrl}${this.endpoint}`);
|
||||
|
||||
Reference in New Issue
Block a user