mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
wrap FT_email collectionPath
This commit is contained in:
@@ -119,7 +119,7 @@ const emailOnTriggerFns = (config: EmailOnTriggerConfig) =>
|
||||
}).reduce((a, [k, v]) => (v === null ? a : { ...a, [k]: v }), {});
|
||||
|
||||
export const FT_email = {
|
||||
[`${functionConfig.collectionPath
|
||||
[`${`${functionConfig.collectionPath}`
|
||||
.replace(/\//g, "_")
|
||||
.replace(/_{.*?}_/g, "_")}`]: emailOnTriggerFns(functionConfig),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user