| 12 | var _ IKeyController = &imlAIKeyController{} |
| 13 | |
| 14 | type imlAIKeyController struct { |
| 15 | module ai_key.IKeyModule `autowired:""` |
| 16 | } |
| 17 | |
| 18 | func (i *imlAIKeyController) Enable(ctx *gin.Context, providerId string, id string) error { |
| 19 | return i.module.UpdateKeyStatus(ctx, providerId, id, true) |
nothing calls this directly
no outgoing calls
no test coverage detected