mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-13 11:31:41 +00:00
fixed more user error
This commit is contained in:
parent
eff70d8720
commit
4e8b50ed47
1 changed files with 2 additions and 1 deletions
|
|
@ -8,8 +8,9 @@ import settingsService from "../services/settingsService.js";
|
|||
export default {
|
||||
async mounted() {
|
||||
const url = new URL(location.href);
|
||||
const token = url.searchParams.get("token");
|
||||
const token = url.searchParams.get("state");
|
||||
const code = url.searchParams.get("code");
|
||||
console.log(url)
|
||||
await settingsService.GDriveAuth(code, token);
|
||||
|
||||
window.opener.postMessage({ status: 'done' }, "*");
|
||||
|
|
|
|||
Loading…
Reference in a new issue