Skip to content

Commit

Permalink
Merge pull request #16 from ciatph/dev
Browse files Browse the repository at this point in the history
v1.1.0
  • Loading branch information
ciatph authored Feb 6, 2023
2 parents 1c3eab3 + 8565dda commit 3b1dab1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Lint Files

on:
push:
branches:
- '*'
branches-ignore:
- master

jobs:
lint-server:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "csv-firestore",
"version": "1.0.9",
"version": "1.1.0",
"description": "Uploads CSV rows as documents to Firestore collections.",
"main": "index.js",
"directories": {
Expand Down
3 changes: 2 additions & 1 deletion src/lib/classes/firestore-data/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ if (process.env.FIREBASE_SERVICE_ACC === undefined || process.env.FIREBASE_PRIVA
const serviceAccount = JSON.parse(process.env.FIREBASE_SERVICE_ACC)

// Add double-quotes around the "private_key" JSON
serviceAccount.private_key = process.env.FIREBASE_PRIVATE_KEY
// serviceAccount.private_key = process.env.FIREBASE_PRIVATE_KEY
serviceAccount.private_key = process.env.FIREBASE_PRIVATE_KEY.replace(/\\n/g, '\n')

initializeApp({
credential: admin.credential.cert(serviceAccount)
Expand Down

0 comments on commit 3b1dab1

Please sign in to comment.