We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 426bf79 + 29a3f3d commit 894e73dCopy full SHA for 894e73d
src/OAuth2.gs
@@ -61,7 +61,7 @@ function getRedirectUri(scriptId) {
61
return Utilities.formatString('https://script.google.com/macros/d/%s/usercallback', scriptId);
62
}
63
64
-if (module) {
+if (typeof module === 'object') {
65
module.exports = {
66
createService: createService,
67
getRedirectUri: getRedirectUri
0 commit comments