We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7c82b0 commit 1ff8b51Copy full SHA for 1ff8b51
packages/app-service/src/api/trigger.ts
@@ -1,7 +1,7 @@
1
/*
2
* @Author: Maslow<[email protected]>
3
* @Date: 2021-07-30 10:30:29
4
- * @LastEditTime: 2021-09-09 23:36:39
+ * @LastEditTime: 2021-09-13 14:49:36
5
* @Description:
6
*/
7
@@ -28,7 +28,7 @@ export async function getTriggers(status = 1) {
28
29
const triggers = []
30
for (const func of docs) {
31
- func.triggers.forEach((tri: any) => tri['func_id'] = func._id)
+ func.triggers.forEach((tri: any) => tri['func_id'] = func._id.toString())
32
triggers.push(...func.triggers)
33
}
34
0 commit comments