summaryrefslogtreecommitdiffstats
path: root/src/auth/claims.rs
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-04-13 15:41:56 -0500
committerToby Vincent <tobyv@tobyvin.dev>2024-04-13 15:41:56 -0500
commitfecfd74eb29a5e1ddafab48d393c022dfcac3815 (patch)
treed6b08fe80ad7e6452d9b80b89da314abc8f40ba4 /src/auth/claims.rs
parent26fdaefdff192e0a13b976edd46ab75165c0a135 (diff)
fix(auth): return refresh claims as response body
Diffstat (limited to 'src/auth/claims.rs')
-rw-r--r--src/auth/claims.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auth/claims.rs b/src/auth/claims.rs
index e5cfd25..ff582a3 100644
--- a/src/auth/claims.rs
+++ b/src/auth/claims.rs
@@ -141,7 +141,7 @@ impl IntoResponseParts for RefreshClaims {
impl IntoResponse for RefreshClaims {
fn into_response(self) -> axum::response::Response {
- (self, ()).into_response()
+ JWT.encode(&self).into_response()
}
}