fix: set credentials and change get to post
This commit is contained in:
parent
916aa2fd9c
commit
207f54ae17
@ -17,6 +17,7 @@ export default class SetupService extends ApiService {
|
|||||||
let request = this.createRequestBuilder()
|
let request = this.createRequestBuilder()
|
||||||
.setEndpoint('CheckToken')
|
.setEndpoint('CheckToken')
|
||||||
.setQueryParams({token: token})
|
.setQueryParams({token: token})
|
||||||
|
.setWithCredentials()
|
||||||
.build;
|
.build;
|
||||||
|
|
||||||
return this.get<boolean>(request);
|
return this.get<boolean>(request);
|
||||||
@ -49,7 +50,7 @@ export default class SetupService extends ApiService {
|
|||||||
.setWithCredentials()
|
.setWithCredentials()
|
||||||
.build;
|
.build;
|
||||||
|
|
||||||
return this.get<boolean>(request);
|
return this.post<boolean>(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
public setRedis(data: CacheRequest) {
|
public setRedis(data: CacheRequest) {
|
||||||
|
Loading…
Reference in New Issue
Block a user