0

enter image description here

it's showing onRequest() not onCall(). any idea? I have added screenshot.

Victor Eronmosele
  • 7,040
  • 2
  • 10
  • 33

1 Answers1

0

onCall is usually invoked from the client app rather than the backend, that's why you only see onRequest as a suggestion and not onCall. You should use onRequest here. Read this for more on their differences: Firebase Cloud Functions: Difference between onRequest and onCall

Yusuf
  • 3
  • 2