forked from github/plane
chore: update instance admin sign in endpoint (#2973)
This commit is contained in:
parent
f1b748947a
commit
6392a24098
@ -135,7 +135,7 @@ export class AuthService extends APIService {
|
||||
}
|
||||
|
||||
async instanceMagicSignIn(data: any): Promise<any> {
|
||||
const response = await this.post("/api/licenses/instances/admins/magic-sign-in/", data);
|
||||
const response = await this.post("/api/licenses/instances/admins/magic-sign-in/", data, { headers: {} });
|
||||
if (response?.status === 200) {
|
||||
this.setAccessToken(response?.data?.access_token);
|
||||
this.setRefreshToken(response?.data?.refresh_token);
|
||||
|
Loading…
Reference in New Issue
Block a user