Fixed worker issues

This commit is contained in:
frikky
2021-03-10 10:35:21 +01:00
parent db1abbd051
commit 5e1ddc60fd
5 changed files with 113 additions and 14 deletions
+1
View File
@@ -8429,6 +8429,7 @@ func initHandlers() {
// Orgs
r.HandleFunc("/api/v1/orgs", handleGetOrgs).Methods("GET", "OPTIONS")
r.HandleFunc("/api/v1/orgs/", handleGetOrgs).Methods("GET", "OPTIONS")
r.HandleFunc("/api/v1/orgs/{orgId}", handleGetOrg).Methods("GET", "OPTIONS")
r.HandleFunc("/api/v1/orgs/{orgId}", handleEditOrg).Methods("POST", "OPTIONS")
//r.HandleFunc("/api/v1/orgs/{orgId}", handleEditOrg).Methods("POST", "OPTIONS")