From 34a3eaa954898fa828e7998a3614a141470fcbd1 Mon Sep 17 00:00:00 2001 From: Yuze Fu Date: Wed, 25 Sep 2024 14:10:23 +0900 Subject: [PATCH] fix: return new refresh token --- Net.Vatprc.Uniapi/Controllers/AuthController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Net.Vatprc.Uniapi/Controllers/AuthController.cs b/Net.Vatprc.Uniapi/Controllers/AuthController.cs index a80625b..ebf77e1 100644 --- a/Net.Vatprc.Uniapi/Controllers/AuthController.cs +++ b/Net.Vatprc.Uniapi/Controllers/AuthController.cs @@ -629,7 +629,7 @@ protected async Task RefreshTokenGrant(RefreshAccessTokenRequest { AccessToken = token, ExpiresIn = (uint)(expires - now), - RefreshToken = refresh.Token.ToString(), + RefreshToken = newRefresh.Token.ToString(), Scope = scopes }); }