about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-08-18 00:13:29 +0300
committerVika <vika@fireburn.ru>2024-08-18 00:19:30 +0300
commitf5587c32d42c8b0ce591affd2ef5d7a30c24257f (patch)
tree1ac9eb8b7598ec79198a00be0eb8125761e2eb2b /src
parent298c8c885350d7de581f927f1d196a797627bd9f (diff)
downloadkittybox-f5587c32d42c8b0ce591affd2ef5d7a30c24257f.tar.zst
kittybox-indieauth: separate ProfileUrl struct from GrantResponse
Seems to be useful on its own.
Diffstat (limited to 'src')
-rw-r--r--src/indieauth/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indieauth/mod.rs b/src/indieauth/mod.rs
index de4c367..c09b426 100644
--- a/src/indieauth/mod.rs
+++ b/src/indieauth/mod.rs
@@ -400,7 +400,7 @@ async fn authorization_endpoint_post<A: AuthBackend, D: Storage + 'static>(
                 None
             };
 
-            GrantResponse::ProfileUrl { me, profile }.into_response()
+            GrantResponse::ProfileUrl(ProfileUrl { me, profile }).into_response()
         },
         _ => Error {
             kind: ErrorKind::InvalidGrant,