Skip to content
This repository was archived by the owner on Jul 21, 2020. It is now read-only.

Commit 6529529

Browse files
EthanWaiteProbablePrime
authored andcommitted
fix: fix authentication (#70)
These arguments are the other way around.
1 parent 274810d commit 6529529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/mixer/api/MixerAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public MixerAPI(String clientId, URI basePath, String oauthToken) {
4949
.create();
5050

5151
this.executor = MoreExecutors.listeningDecorator(Executors.newFixedThreadPool(10));
52-
this.http = new MixerHttpClient(this, clientId, oauthToken);
52+
this.http = new MixerHttpClient(this, oauthToken, clientId);
5353
this.services = new ServiceManager<>();
5454

5555
this.register(new UsersService(this));

0 commit comments

Comments
 (0)