Skip to content

Commit

Permalink
Fix bug when LabyConnect token is null
Browse files Browse the repository at this point in the history
  • Loading branch information
RappyTV committed Aug 6, 2023
1 parent 3f92462 commit 73ee918
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private ApiRequest(String method, String path, String key, BodyPublisher bodyPub
HttpRequest request = HttpRequest.newBuilder()
.uri(new URI("https://gt.rappytv.com" + path))
.header("Content-Type", "application/json")
.header("Authorization", key)
.header("Authorization", key != null ? key : "")
.header("X-Addon-Version", GlobalTagAddon.version)
.method(method, bodyPublisher)
.build();
Expand Down

0 comments on commit 73ee918

Please sign in to comment.