mirror of
https://github.com/mastodon/mastodon.git
synced 2025-03-13 16:40:19 +01:00
Ensure notification IDs are always strings
This commit is contained in:
parent
b06fd54c30
commit
ff4bf50d8c
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class Web::NotificationSerializer < ActiveModel::Serializer
|
||||||
end
|
end
|
||||||
|
|
||||||
def notification_id
|
def notification_id
|
||||||
object.id
|
object.id.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
def notification_type
|
def notification_type
|
||||||
|
|
Loading…
Add table
Reference in a new issue