diff options
Diffstat (limited to 'api4/context.go')
-rw-r--r-- | api4/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/context.go b/api4/context.go index 06eee6715..61c318266 100644 --- a/api4/context.go +++ b/api4/context.go @@ -355,7 +355,7 @@ func (c *Context) RequireInviteId() *Context { return c } - if len(c.Params.InviteId) != 26 { + if len(c.Params.InviteId) == 0 { c.SetInvalidUrlParam("invite_id") } return c |