Fix participation section, show how many places are available

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-10-11 15:06:58 +02:00
parent 98472e7222
commit 4499fb2f31
7 changed files with 118 additions and 50 deletions

View File

@@ -115,7 +115,10 @@ 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)")
field(:participants, :integer,
description: "The number of simple participants (excluding creators)"
)
end
object :event_offer do