 
       (context "/groups" []
         (OPTIONS "/" req
-          (validate-standard-params (:params req))
-          cr/options-response)
+                 (validate-standard-params (:params req))
+                 cr/options-response)
 
         ;; Search for groups
         (GET "/" {:keys [request-context headers params]}

  (routes
    (POST "/reset" {:keys [request-context params headers]}
      (acl/verify-ingest-management-permission request-context :update)
      (cache/reset-caches request-context)
      (reset request-context)
      {:status 204})))


  (js/parse-json-schema group-schema-structure))

(def ^:private group-members-schema-structure
  "Schema defining list of usernames sent to add or remove members in a group"
  {:type :array :items {:type :string :minLength 1 :maxLength 50}})

(def ^:private group-members-schema
  "The JSON schema used to validate a list of group members"
