2021-04-13 21:53:58 +02:00
|
|
|
import { HttpClient } from '@angular/common/http';
|
|
|
|
import { Injectable } from '@angular/core';
|
|
|
|
|
|
|
|
@Injectable({
|
|
|
|
providedIn: 'root'
|
|
|
|
})
|
|
|
|
export class AdminService {
|
|
|
|
public constructor(private http: HttpClient) {}
|
|
|
|
|
|
|
|
public gatherMax() {
|
|
|
|
return this.http.post<void>(`/api/admin/gather/max`, {});
|
|
|
|
}
|
2021-07-24 21:13:48 +02:00
|
|
|
|
|
|
|
public gatherProfileData() {
|
|
|
|
return this.http.post<void>(`/api/admin/gather/profile-data`, {});
|
|
|
|
}
|
2021-04-13 21:53:58 +02:00
|
|
|
}
|