Change percent
to rate
in retention metrics API (#16910)
This commit is contained in:
parent
bddd9ba36d
commit
a63495230a
3 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@ class REST::Admin::CohortSerializer < ActiveModel::Serializer
|
|||
attributes :period, :frequency
|
||||
|
||||
class CohortDataSerializer < ActiveModel::Serializer
|
||||
attributes :date, :percent, :value
|
||||
attributes :date, :rate, :value
|
||||
|
||||
def date
|
||||
object.date.iso8601
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue