-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
topic.publisher is not a function #1316
Comments
@ttfreeman Thanks for reporting the issue. Which sample is this? |
@fhinkel this tutorial (Optical Character Recognition): https://cloud.google.com/functions/docs/tutorials/ocr#functions-clone-sample-repository-nodejs |
Thank you, I'll have a look |
We were using an outdated API call. It should be |
I have followed all the steps in the tutorial but when I upload an image to Cloud Storage and check the logs, I find the function execution has stopped for the following error:
TypeError: topic.publisher is not a function at pubsub.topic.get.then (/srv/index.js:37:30) at <anonymous>
The text was updated successfully, but these errors were encountered: