Skip to content

Commit

Permalink
fix: cannot deploy cloud functions
Browse files Browse the repository at this point in the history
0xjei committed Mar 21, 2023
1 parent fabf483 commit 83f4928
Showing 2 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion packages/backend/firebase.json
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
"indexes": "firestore.indexes.json"
},
"functions": {
"predeploy": "yarn --prefix \"$RESOURCE_DIR\" build",
"predeploy": "yarn --cwd \"$RESOURCE_DIR\" build",
"source": "."
},
"emulators": {
54 changes: 27 additions & 27 deletions packages/backend/firestore.indexes.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"indexes": [
"indexes": [
{
"collectionGroup": "ceremonies",
"queryScope": "COLLECTION",
"fields": [
{
"collectionGroup": "ceremonies",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "state",
"order": "ASCENDING"
},
{
"fieldPath": "endDate",
"order": "ASCENDING"
}
]
"fieldPath": "state",
"order": "ASCENDING"
},
{
"collectionGroup": "ceremonies",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "state",
"order": "ASCENDING"
},
{
"fieldPath": "startDate",
"order": "ASCENDING"
}
]
"fieldPath": "endDate",
"order": "ASCENDING"
}
],
"fieldOverrides": []
]
},
{
"collectionGroup": "ceremonies",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "state",
"order": "ASCENDING"
},
{
"fieldPath": "startDate",
"order": "ASCENDING"
}
]
}
],
"fieldOverrides": []
}

0 comments on commit 83f4928

Please sign in to comment.