fix: change protected to public readonly

This commit is contained in:
Polianin Nikita 2024-06-11 00:24:50 +03:00
parent d6f51a5d1c
commit 1468a9766d

View File

@ -11,7 +11,7 @@ import {DateOnly} from "@model/DateOnly";
@Injectable() @Injectable()
export default class SetupService extends ApiService { export default class SetupService extends ApiService {
protected basePath = 'Setup/'; protected basePath = 'Setup/';
protected version = AvailableVersion.v1; public readonly version = AvailableVersion.v1;
public checkToken(token: string) { public checkToken(token: string) {
return this.get<boolean>('CheckToken', {token: token}); return this.get<boolean>('CheckToken', {token: token});