MCPcopy Create free account
hub / github.com/Quorinex/Kiro-Go / apiGetStats

Method apiGetStats

proxy/handler.go:3092–3101  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

3090 if len(profiles) == 1 {
3091 account.ProfileArn = profiles[0].ARN
3092 }
3093 if err := config.AddAccount(account); err != nil {
3094 h.microsoftFlowMu.Unlock()
3095 h.writeAddAccountError(w, err)
3096 return
3097 }
3098 delete(h.microsoftCanceled, strings.TrimSpace(req.SessionID))
3099 h.microsoftFlowMu.Unlock()
3100 h.pool.Reload()
3101
3102 response := map[string]interface{}{
3103 "success": true,
3104 "stage": "complete",

Callers 1

handleAdminAPIMethod · 0.95

Calls 1

getCreditsMethod · 0.95

Tested by

no test coverage detected