Closed nickbreaton closed 6 years ago
This was a bit cryptic to debug, the fake 500 took me for a little ride. Do you happen to know which meteor version removed the old API?
It looks like meteor-google-api uses the proper API HTTP.call
in google-api-async.js, so the older Meteor.http.call
usage in google-api-methods.js is inconsistent. I'm using this patch to bring it in line: https://github.com/danopia/meteor-google-api/commit/75e17afcedd04887063f034674cb95ae52b861a4
I understand most people have probably moved passed using this package at this point, so I am just documenting a workaround for this issue.
exchangeRefreshToken
will result in the error:Meteor used to have
Meteor.http
available, but it is now in thehttp
package, however the library is still depending on former.To fix this install
http
with:and then add the following to your application entry point: