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