add auth token checking
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ async function _upload() {
|
||||
if (!reader.getTableNames().includes('tblContacts'))
|
||||
return console.log('!! No "tblContacts" table present.');
|
||||
|
||||
const table = reader.getTable("tblContacts");
|
||||
const table = reader.getTable('tblContacts');
|
||||
const tableData = table.getData<Record<string, string>>();
|
||||
|
||||
const data = tableData.reduce((p, r) => ({ ...p, [r.fldPrimaryKey]: r }), {} as Record<string, any>);
|
||||
|
||||
Reference in New Issue
Block a user