From f5587c32d42c8b0ce591affd2ef5d7a30c24257f Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 18 Aug 2024 00:13:29 +0300 Subject: kittybox-indieauth: separate ProfileUrl struct from GrantResponse Seems to be useful on its own. --- src/indieauth/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/indieauth') 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( None }; - GrantResponse::ProfileUrl { me, profile }.into_response() + GrantResponse::ProfileUrl(ProfileUrl { me, profile }).into_response() }, _ => Error { kind: ErrorKind::InvalidGrant, -- cgit 1.4.1