commit: be0146afb3c2d6414b9c7028d489c63ff4c1063a
parent d2f6cc1445392f8d49e2922ce3a769b9b314fcfc
Author: nicole mikołajczyk <git@mkljczk.pl>
Date: Sat, 29 Nov 2025 17:10:21 +0100
Improve example
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
Diffstat:
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lib/pleroma/web/api_spec/operations/account_operation.ex b/lib/pleroma/web/api_spec/operations/account_operation.ex
@@ -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