chore: update instance admin sign in endpoint (#2973)

This commit is contained in:
Aaryan Khandelwal 2023-12-02 18:19:59 +05:30 committed by Aaryan Khandelwal
parent 4336cfa0a5
commit 581c89fb5f

View File

@ -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);