Use /v3/Account/GetToken to renew the app token

This commit is contained in:
Samuel Elliott 2022-04-08 23:53:04 +01:00
parent 53a15bbb99
commit 4d593deb7f
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6

View File

@ -165,7 +165,7 @@ export default class ZncApi {
timestamp,
f: flapgdata.f,
requestId: uuid,
naIdToken: this.token,
naIdToken: id_token,
};
const data = await this.fetch<AccountToken>('/v3/Account/GetToken', 'POST', JSON.stringify({