Skip to content

Commit

Permalink
fix: replace order example by base64 string (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos authored Dec 18, 2024
1 parent 9461528 commit 28a69c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auction-server/api-types/src/opportunity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub enum OpportunityCreateProgramParamsV1Svm {
#[schema(title = "limo")]
Limo {
/// The Limo order to be executed, encoded in base64.
#[schema(example = "DUcTi3rDyS5QEmZ4BNRBejtArmDCWaPYGfN44vBJXKL5", value_type = String)]
#[schema(example = "UxMUbQAsjrfQUp5stVwMJ6Mucq7VWTvt4ICe69BJ8lVXqwM+0sysV8OqZTdM0W4p...", value_type = String)]
#[serde_as(as = "Base64")]
order: Vec<u8>,

Expand Down Expand Up @@ -303,7 +303,7 @@ pub enum OpportunityParamsV1ProgramSvm {
#[schema(title = "limo")]
Limo {
/// The Limo order to be executed, encoded in base64.
#[schema(example = "DUcTi3rDyS5QEmZ4BNRBejtArmDCWaPYGfN44vBJXKL5", value_type = String)]
#[schema(example = "UxMUbQAsjrfQUp5stVwMJ6Mucq7VWTvt4ICe69BJ8lVXqwM+0sysV8OqZTdM0W4p...", value_type = String)]
#[serde_as(as = "Base64")]
order: Vec<u8>,
/// Address of the order account.
Expand Down

0 comments on commit 28a69c9

Please sign in to comment.