mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
fix derivatives with - in collection names
This commit is contained in:
@@ -64,7 +64,7 @@ export const derivativeOnUpdate = async (
|
||||
};
|
||||
|
||||
export const FT_derivatives = {
|
||||
[collectionPath]: {
|
||||
[collectionPath.replace("-", "_")]: {
|
||||
onUpdate: functions.firestore
|
||||
.document(`${collectionPath}/{docId}`)
|
||||
.onUpdate(derivativeOnUpdate),
|
||||
|
||||
Reference in New Issue
Block a user