Change percent
to rate
in retention metrics API (#16910)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user