rename to pull

This commit is contained in:
arc-alex
2023-11-18 21:17:44 +01:00
parent fe67e65a95
commit b77db4cbf6
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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`);