質問編集履歴
1
ビジネスロジック部分を記載
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
|
33
33
|
|
34
34
|
|
35
|
-
```nodej
|
35
|
+
```nodejs
|
36
36
|
|
37
37
|
index.js
|
38
38
|
|
@@ -47,6 +47,20 @@
|
|
47
47
|
exports.triggerFirestore1 = finctions.firestore.documant('user/{userid}').onWrite(bizLogic.handler);
|
48
48
|
|
49
49
|
exports.triggerFirestore2 = finctions.firestore.documant('user/{userId}/otherInfo/{otherInfoId}').onWrite(bizLogic.handler);
|
50
|
+
|
51
|
+
```
|
52
|
+
|
53
|
+
```nodejs
|
54
|
+
|
55
|
+
./lib/bizLogic
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
exports.handler = async (event, context) => {
|
60
|
+
|
61
|
+
/*** ビジネスロジック ***/
|
62
|
+
|
63
|
+
}
|
50
64
|
|
51
65
|
```
|
52
66
|
|