14 lines
304 B
TypeScript
14 lines
304 B
TypeScript
|
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`, {});
|
||
|
}
|
||
|
}
|