Merge branch 'develop' into feature/admin-api-user-statuses
[akkoma] / lib / pleroma / web / mastodon_api / views / status_view.ex
index 06a7251d8f959e1ce1deca2c3ae2c0e8e809bbec..de942595941e29194ef38fdd38a62afc39ceedb6 100644 (file)
@@ -382,7 +382,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
       %{
         # Mastodon uses separate ids for polls, but an object can't have
         # more than one poll embedded so object id is fine
-        id: object.id,
+        id: to_string(object.id),
         expires_at: Utils.to_masto_date(end_time),
         expired: expired,
         multiple: multiple,