about summary refs log tree commit diff
path: root/indieauth/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'indieauth/src/lib.rs')
-rw-r--r--indieauth/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/indieauth/src/lib.rs b/indieauth/src/lib.rs
index 1582318..20c1316 100644
--- a/indieauth/src/lib.rs
+++ b/indieauth/src/lib.rs
@@ -39,7 +39,7 @@ pub use rand;
 #[serde(rename_all = "snake_case")]
 pub enum IntrospectionEndpointAuthMethod {
     /// `Authorization` header with a `Bearer` token.
-    #[serde(rename = "CamelCase")]
+    #[serde(rename_all = "PascalCase")]
     Bearer,
     /// A token passed as part of a POST request.
     ClientSecretPost,