Skip to content

Commit 3254289

Browse files
author
Eric Koleda
committed
Change indexOf test
1 parent 6619d36 commit 3254289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/Salesforce.gs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function withRetry(service, func) {
4949
} catch (e) {
5050
content = e.toString();
5151
}
52-
if (content.indexOf('INVALID_SESSION_ID') >= 0) {
52+
if (content.indexOf('INVALID_SESSION_ID') !== -1) {
5353
service.refresh();
5454
return func();
5555
}

0 commit comments

Comments
 (0)