Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change encoding of filter to be camelCase to be consistent with Polka…
…dotJS
  • Loading branch information
ntn-x2 committed Aug 4, 2022
commit 971ce6cc34888303f0da9729d12a9c034376c323
2 changes: 1 addition & 1 deletion nodes/common/src/public_credentials.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl<CTypeHash, Attester, BlockNumber, AccountId, Balance, AuthorizationId>
/// Filter for public credentials retrieved for a provided subject as specified
/// in the RPC interface.
#[derive(Serialize, Deserialize)]
#[serde(rename_all = "snake_case")]
#[serde(rename_all = "camelCase")]
pub enum PublicCredentialFilter<CTypeHash, Attester> {
/// Filter credentials that match a specified Ctype.
CtypeHash(CTypeHash),
Expand Down