 
       (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]}

(defn reset
  "Resets the app state. Compatible with cmr.dev-system.control."
  [context]
  (index/reset (-> context :system :search-index)))

(def admin-api-routes

  (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"
