Skip to content

Commit

Permalink
fix(deps): stick firebase-functions to v1 (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienjoly authored Jun 1, 2024
1 parent ee9a80c commit 78985c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ release: install test build

deploy-firebase: setup-firebase install test build ## Deploy to Firebase Functions
@cd functions; node tools/bot-config-firebase.js
@cd functions; npx firebase-tools deploy
@cd functions; npx firebase-tools deploy --no-gen2

emulate-firebase: build ## Starts a local Firebase server
@cd functions; node tools/bot-config-firebase.js
Expand Down
2 changes: 1 addition & 1 deletion functions/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is intended to run the app in production

import * as functions from 'firebase-functions'
import * as functions from 'firebase-functions/v1'
import { makeMessageHandler } from './app'

const { config } = functions.config() // load credentials and options from firebase config
Expand Down

0 comments on commit 78985c4

Please sign in to comment.