回答編集履歴
1
補足を追加
answer
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
[onCall](https://firebase.google.com/docs/functions/callable-reference)での実装例です。ユーザーがFirebase Authenticationでログイン中であればauthにユーザー情報が入っています。
|
2
2
|
|
3
|
+
カウントに関しては実装が不透明なため、回答はタイトルにある取得方法のみになります
|
3
4
|
|
4
5
|
```js
|
5
6
|
const functions = require('firebase-functions')
|