fix(OAuth): client identity matching (#421)

This commit is contained in:
Patrick Kan
2023-06-29 03:26:33 +08:00
committed by GitHub
parent 89548ad48a
commit 07c1b3e0e5
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ export default class OAuth {
client_id: this.#identity.client_id,
scope: Constants.OAUTH.SCOPE,
device_id: Platform.shim.uuidv4(),
model_name: Constants.OAUTH.MODEL_NAME
device_model: Constants.OAUTH.MODEL_NAME
};
const response = await this.#session.http.fetch_function(new URL('/o/oauth2/device/code', Constants.URLS.YT_BASE), {