From 2a753949f10f70de26dba9fbff7c5ef9583d6c86 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Thu, 23 Mar 2017 06:34:22 -0400 Subject: Implement POST /users/search endpoint for APIv4 (#5822) * Implement POST /users/search endpoint for APIv4 * PLT-2713 Added store functions for searching users that don't have a team * PLT-2713 Added 'without_team' option when searching users * PLT-2713 Added 'without_team' option when searching users (v4) --- model/user_search.go | 1 + 1 file changed, 1 insertion(+) (limited to 'model/user_search.go') diff --git a/model/user_search.go b/model/user_search.go index 4bbd2bd78..1ef881130 100644 --- a/model/user_search.go +++ b/model/user_search.go @@ -14,6 +14,7 @@ type UserSearch struct { InChannelId string `json:"in_channel_id"` NotInChannelId string `json:"not_in_channel_id"` AllowInactive bool `json:"allow_inactive"` + WithoutTeam bool `json:"without_team"` } // ToJson convert a User to a json string -- cgit v1.2.3-1-g7c22