Skip to content

Commit

Permalink
🌥
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Mar 26, 2020
1 parent e2d367c commit 9f9df28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firestore-googleapis.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict'

const { google } = require('googleapis')

console.log('using REST via googleapis')
const firestore = google.firestore('v1')
const adaptor = require('./adaptor')

Expand Down
1 change: 1 addition & 0 deletions firestore-grpc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const { Firestore } = require('@google-cloud/firestore')

console.log('using gRPC via @google-cloud/firestore')
const db = new Firestore()
const CronJobs = db.collection('cron-jobs')

Expand Down

0 comments on commit 9f9df28

Please sign in to comment.