mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-26 06:52:17 +00:00
Merge branch 'canary' into feat/docker-health-dashboard
This commit is contained in:
@@ -44,7 +44,9 @@ export const refreshGitlabToken = async (gitlabProviderId: string) => {
|
||||
|
||||
const data = await response.json();
|
||||
|
||||
const expiresAt = Math.floor(Date.now() / 1000) + data.expires_in;
|
||||
const expiresAt = data.expires_in
|
||||
? Math.floor(Date.now() / 1000) + data.expires_in
|
||||
: null;
|
||||
|
||||
await updateGitlab(gitlabProviderId, {
|
||||
accessToken: data.access_token,
|
||||
|
||||
Reference in New Issue
Block a user