Skip to content

Commit

Permalink
chore(pdf): ignore undefined in firestore
Browse files Browse the repository at this point in the history
  • Loading branch information
dalenguyen committed Jun 9, 2024
1 parent d88352a commit 544b5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subscribers/pdf-on-create/src/services/data.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Firestore } from '@google-cloud/firestore'
import { UploadedFile } from '@pdfun/domain'

const db = new Firestore()
const db = new Firestore({ ignoreUndefinedProperties: true })

export const getDocument = async (
path: string
Expand Down

0 comments on commit 544b5a6

Please sign in to comment.