Change percent to rate in retention metrics API (#16910)

This commit is contained in:
Claire
2022-01-23 16:01:25 +01:00
committed by GitHub
parent bddd9ba36d
commit a63495230a
3 changed files with 6 additions and 6 deletions

View File

@@ -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