mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 18:03:47 +00:00
rename to pull
This commit is contained in:
@@ -36,6 +36,7 @@ class sheet {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* `parse` a given sheet
|
||||
@@ -45,7 +46,7 @@ class sheet {
|
||||
* @returns {Promise<Partial<ResponseOK>>}
|
||||
* @throws
|
||||
*/
|
||||
public async parse(sheetId: string, worksheet: string, options = defaultExcelImportMap) {
|
||||
public async pull(sheetId: string, worksheet: string, options = defaultExcelImportMap) {
|
||||
if (!sheet.client) {
|
||||
if (!(await this.authorized())) {
|
||||
throw new Error(`Sheet not authorized`);
|
||||
|
||||
Reference in New Issue
Block a user