about summary refs log tree commit diff
path: root/src/indieauth
diff options
context:
space:
mode:
Diffstat (limited to 'src/indieauth')
-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,