server/embed: only serialize post data we actually use
This commit is contained in:
parent
922499cb64
commit
e59beb4670
1 changed files with 1 additions and 1 deletions
|
@ -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"]
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue