mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
server/embed: only serialize post data we actually use
This commit is contained in:
@ -40,7 +40,7 @@ def _serialize_post(
|
||||
ctx: rest.Context, post: Optional[model.Post]
|
||||
) -> rest.Response:
|
||||
return posts.serialize_post(
|
||||
post, ctx.user, options=serialization.get_serialization_options(ctx)
|
||||
post, ctx.user, options=["thumbnailUrl", "user"]
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user