mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-23 07:59:10 +00:00
fix: saveClientSecrets type object
This commit is contained in:
@@ -202,11 +202,11 @@ class sheet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* saves secrets Object to appdata path as client_secret.json
|
* saves secrets object to appdata path as client_secret.json
|
||||||
* @param {Object} secrets
|
* @param {object} secrets
|
||||||
* @throws
|
* @throws
|
||||||
*/
|
*/
|
||||||
public async saveClientSecrets(secrets: Object) {
|
public async saveClientSecrets(secrets: object) {
|
||||||
sheet.client = null;
|
sheet.client = null;
|
||||||
sheet.authUrl = null;
|
sheet.authUrl = null;
|
||||||
ensureDirectory(this.sheetsFolder);
|
ensureDirectory(this.sheetsFolder);
|
||||||
|
|||||||
Reference in New Issue
Block a user