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

Method GetAutoBan

model/channel.go:228–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226}
227
228func (channel *Channel) GetAutoBan() bool {
229 if channel.AutoBan == nil {
230 return false
231 }
232 return *channel.AutoBan == 1
233}
234
235func (channel *Channel) Save() error {
236 return DB.Save(channel).Error

Callers 7

testAllChannelsFunction · 0.80
updateAllChannelsBalanceFunction · 0.80
RelayFunction · 0.80
WssRelayFunction · 0.80
RelayClaudeFunction · 0.80
RelayMidjourneySubmitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected