Improve example
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
parent
d2f6cc1445
commit
be0146afb3
1 changed files with 8 additions and 2 deletions
|
|
@ -913,7 +913,10 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
|
|||
}
|
||||
]
|
||||
},
|
||||
example: [Account.schema().example]
|
||||
example: [
|
||||
Account.schema().example
|
||||
|> Map.put("mute_expires_at", "2025-11-29T16:23:13Z")
|
||||
]
|
||||
}
|
||||
end
|
||||
|
||||
|
|
@ -934,7 +937,10 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
|
|||
}
|
||||
]
|
||||
},
|
||||
example: [Account.schema().example]
|
||||
example: [
|
||||
Account.schema().example
|
||||
|> Map.put("block_expires_at", "2025-11-29T16:23:13Z")
|
||||
]
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue