Skip to content

Commit 354a410

Browse files
committed
Update HttpService.java
updated check
1 parent d142537 commit 354a410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splunk/src/main/java/com/splunk/HttpService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ public ResponseMessage send(String path, RequestMessage request) {
525525
}
526526

527527
// If user session has expired check for 'autologin' flag to either re-login or throw HTTPException
528-
if(status == 401){
528+
if(this instanceof Service && status == 401){
529529
return new ResponseMessage(401, input);
530530
}
531531

0 commit comments

Comments
 (0)