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.
1 parent 6619d36 commit 3254289Copy full SHA for 3254289
samples/Salesforce.gs
@@ -49,7 +49,7 @@ function withRetry(service, func) {
49
} catch (e) {
50
content = e.toString();
51
}
52
- if (content.indexOf('INVALID_SESSION_ID') >= 0) {
+ if (content.indexOf('INVALID_SESSION_ID') !== -1) {
53
service.refresh();
54
return func();
55
0 commit comments