convert status ids to string

This commit is contained in:
2458773093 2019-09-04 00:54:18 +03:00
parent 168642a1b9
commit daf5eeb905
1 changed files with 4 additions and 0 deletions

View File

@ -2,4 +2,8 @@
class REST::PromotionSerializer < ActiveModel::Serializer
attributes :status_id, :timeline_id, :position
def status_id
object.status_id.to_s
end
end