Expose participants number through API

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-10-11 11:54:57 +02:00
parent bf25d22786
commit 98472e7222
3 changed files with 7 additions and 2 deletions

View File

@@ -115,6 +115,7 @@ defmodule MobilizonWeb.Schema.EventType do
field(:approved, :integer, description: "The number of approved participants")
field(:unapproved, :integer, description: "The number of unapproved participants")
field(:rejected, :integer, description: "The number of rejected participants")
field(:participants, :integer, description: "The number of simple participants (excluding creators)")
end
object :event_offer do