🐛Sharing files doesn't work for the files and folders from "My Drive" (#143)

🐛small fix on the token expiration also
This commit is contained in:
Anton Shepilov
2023-07-05 18:08:33 +02:00
committed by GitHub
parent 8ed6ac4097
commit 20fb9f3ea3
8 changed files with 349 additions and 242 deletions
@@ -89,10 +89,10 @@ class Login extends Observable {
this.cookies.remove('pending-redirect');
setTimeout(() => {
document.location.href = redirectUrl;
}, 500);
}, 1000);
}
this.updateUser((err, user) => this.logger.debug('User is updated', err, user));
await this.updateUser((err, user) => this.logger.debug('User is updated', err, user));
}
}
@@ -58,7 +58,7 @@ export default class InternalAuthProviderService
return new Promise<void>((resolve, reject) => {
this.signinIn = true;
this.logger.log("Sign in in console");
ConsoleAPIClient.login(
{
email: params.username,