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()
|
||||
.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) {
|
||||
|
Loading…
Reference in New Issue
Block a user