Ensure notification IDs are always strings

This commit is contained in:
Emelia Smith 2024-11-02 03:01:44 +01:00
parent b06fd54c30
commit ff4bf50d8c
No known key found for this signature in database

View file

@ -17,7 +17,7 @@ class Web::NotificationSerializer < ActiveModel::Serializer
end
def notification_id
object.id
object.id.to_s
end
def notification_type