Skip to content

Commit 7054428

Browse files
author
Ace Nassri
authored
Update BigQuery invocation
Replica of #1482 with newer changes to master
1 parent fd8efe7 commit 7054428

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

functions/sendgrid/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ exports.sendgridLoad = async event => {
329329
autodetect: true,
330330
sourceFormat: 'NEWLINE_DELIMITED_JSON',
331331
};
332-
const [job] = await table.import(fileObj, metadata);
332+
const [job] = await table.load(fileObj, metadata);
333333

334334
await job.promise();
335335
console.log(`Job complete for ${file.name}`);

0 commit comments

Comments
 (0)