(ctx *gin.Context, providerId string, id string)
| 16 | } |
| 17 | |
| 18 | func (i *imlAIKeyController) Enable(ctx *gin.Context, providerId string, id string) error { |
| 19 | return i.module.UpdateKeyStatus(ctx, providerId, id, true) |
| 20 | } |
| 21 | |
| 22 | func (i *imlAIKeyController) Disable(ctx *gin.Context, providerId string, id string) error { |
| 23 | return i.module.UpdateKeyStatus(ctx, providerId, id, false) |
nothing calls this directly
no test coverage detected