Browse Source

feat(go): return extclient on create;

VishalDalwadi 1 ngày trước cách đây
mục cha
commit
7c3eceddc6
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      controllers/ext_client.go

+ 2 - 0
controllers/ext_client.go

@@ -825,6 +825,8 @@ func createExtClient(w http.ResponseWriter, r *http.Request) {
 	}
 
 	w.WriteHeader(http.StatusOK)
+	json.NewEncoder(w).Encode(extclient)
+
 	go func() {
 		if err := logic.SetClientDefaultACLs(&extclient); err != nil {
 			slog.Error(