use #[rest] on many string arguments
This commit is contained in:
@@ -8,6 +8,7 @@ pub async fn wager(
|
||||
ctx: Context<'_>,
|
||||
amount: String,
|
||||
#[autocomplete = "super::autocomplete_inventory"]
|
||||
#[rest]
|
||||
item: Option<String>) -> Result<(), Error>
|
||||
{
|
||||
let mut tx = ctx.data().database.begin().await?;
|
||||
|
||||
Reference in New Issue
Block a user