mirror of
https://github.com/mastodon/mastodon
synced 2024-11-27 06:18:17 +09:00
Ensure notification IDs are always strings
This commit is contained in:
parent
b06fd54c30
commit
ff4bf50d8c
@ -17,7 +17,7 @@ class Web::NotificationSerializer < ActiveModel::Serializer
|
||||
end
|
||||
|
||||
def notification_id
|
||||
object.id
|
||||
object.id.to_s
|
||||
end
|
||||
|
||||
def notification_type
|
||||
|
Loading…
Reference in New Issue
Block a user