add auth token checking

This commit is contained in:
2024-06-22 00:18:17 -05:00
parent 7298023fb9
commit 7b9b024f59
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -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>);