fix: set credentials and change get to post

This commit is contained in:
Polianin Nikita 2024-09-01 00:30:37 +03:00
parent 916aa2fd9c
commit 207f54ae17

View File

@ -17,6 +17,7 @@ export default class SetupService extends ApiService {
let request = this.createRequestBuilder()
.setEndpoint('CheckToken')
.setQueryParams({token: token})
.setWithCredentials()
.build;
return this.get<boolean>(request);
@ -49,7 +50,7 @@ export default class SetupService extends ApiService {
.setWithCredentials()
.build;
return this.get<boolean>(request);
return this.post<boolean>(request);
}
public setRedis(data: CacheRequest) {