MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / FixChannelsAbilities

Function FixChannelsAbilities

controller/channel.go:209–223  ·  view source on GitHub ↗
(c *gin.Context)

Source from the content-addressed store, hash-verified

207}
208
209func FixChannelsAbilities(c *gin.Context) {
210 success, fails, err := model.FixAbility()
211 if err != nil {
212 common.ApiError(c, err)
213 return
214 }
215 c.JSON(http.StatusOK, gin.H{
216 "success": true,
217 "message": "",
218 "data": gin.H{
219 "success": success,
220 "fails": fails,
221 },
222 })
223}
224
225func SearchChannels(c *gin.Context) {
226 keyword := c.Query("keyword")

Callers

nothing calls this directly

Calls 2

FixAbilityFunction · 0.92
ApiErrorFunction · 0.92

Tested by

no test coverage detected