From 9ec34952b769d09e0e93481cd23bc3d8122e3d9d Mon Sep 17 00:00:00 2001 From: gs-gunjan <72594207+gs-gunjan@users.noreply.github.com> Date: Thu, 27 Jun 2024 17:53:26 +0530 Subject: [PATCH] make changes --- .../legend/sdlc/server/gitlab/auth/GitLabTokenManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legend-sdlc-server/src/main/java/org/finos/legend/sdlc/server/gitlab/auth/GitLabTokenManager.java b/legend-sdlc-server/src/main/java/org/finos/legend/sdlc/server/gitlab/auth/GitLabTokenManager.java index 052f2d2503..927f2592f7 100644 --- a/legend-sdlc-server/src/main/java/org/finos/legend/sdlc/server/gitlab/auth/GitLabTokenManager.java +++ b/legend-sdlc-server/src/main/java/org/finos/legend/sdlc/server/gitlab/auth/GitLabTokenManager.java @@ -133,7 +133,7 @@ boolean gitLabOAuthCallback(String code) GitLabToken oldToken = this.token; this.token = tokenResponse.getAccessToken(); this.refreshToken = tokenResponse.getRefreshToken(); - this.setTokenExpiry(tokenResponse.getExpiryInSecs()); + this.setTokenExpiry(tokenResponse.getExpiresInSecs()); return !token.equals(oldToken); }