Skip to content

A platform for community discussion. Free, open, simple.

DEV: Update invite API docs expires_at default (#14550)

David Taylorba380c5f52fe
diff --git a/spec/requests/api/invites_spec.rb b/spec/requests/api/invites_spec.rb
index 3e7d1e4768e..ccd4bd24fd0 100644
--- a/spec/requests/api/invites_spec.rb
+++ b/spec/requests/api/invites_spec.rb
@@ -24,7 +24,7 @@ describe 'invites' do
topic_id: { type: :integer },
group_id: { type: :integer, description: "optional, either this or `group_names`" },
group_names: { type: :string, description: "optional, either this or `group_id`" },
- expires_at: { type: :string, default: "controlled by invite_expiry_days site setting" },
+ expires_at: { type: :string, description: "optional, if not supplied, the invite_expiry_days site setting is used" },
}
}