Browse Source

Fixes 'bigquery.dataset' is not a function error

Fixes 'bigquery.dataset' is not a function error after deploying and running the function.
master
Stan van Heumen 8 years ago
committed by GitHub
parent
commit
76c50a41c6
  1. 2
      bigquery-import/functions/index.js

2
bigquery-import/functions/index.js

@ -16,7 +16,7 @@
'use strict';
const functions = require('firebase-functions');
const bigquery = require('@google-cloud/bigquery');
const bigquery = require('@google-cloud/bigquery')();
/**
* Writes all logs from the Realtime Database into bigquery.

Loading…
Cancel
Save