Skip to content

Commit ff59498

Browse files
we back
1 parent 7e7b96a commit ff59498

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

hugegraph-client/src/main/java/org/apache/hugegraph/api/auth/TokenAPI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
public class TokenAPI extends AuthAPI {
2626

27-
public TokenAPI(RestClient client, String graphSpace) {
28-
super(client, graphSpace);
27+
public TokenAPI(RestClient client) {
28+
super(client);
2929
}
3030

3131
@Override

hugegraph-client/src/main/java/org/apache/hugegraph/driver/AuthManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public AuthManager(RestClient client, String graphSpace, String graph) {
6868
this.belongAPI = new BelongAPI(client, graphSpace);
6969
this.loginAPI = new LoginAPI(client);
7070
this.logoutAPI = new LogoutAPI(client);
71-
this.tokenAPI = new TokenAPI(client, graphSpace);
71+
this.tokenAPI = new TokenAPI(client);
7272
this.managerAPI = new ManagerAPI(client, graphSpace);
7373
}
7474

hugegraph-client/src/test/java/org/apache/hugegraph/api/auth/TokenApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class TokenApiTest extends AuthApiTest {
4040

4141
@BeforeClass
4242
public static void init() {
43-
tokenAPI = new TokenAPI(initClient(), GRAPHSPACE);
43+
tokenAPI = new TokenAPI(initClient());
4444
logoutAPI = new LogoutAPI(initClient());
4545
loginAPI = new LoginAPI(initClient());
4646
userAPI = new UserAPI(initClient(), GRAPHSPACE);

0 commit comments

Comments
 (0)