🐛 fix log channel is null

This commit is contained in:
Martial BE 2023-12-28 11:27:52 +08:00
parent 002dba5a75
commit 0fa94d3c94
No known key found for this signature in database
GPG Key ID: D06C32DF0EDB9084

View File

@ -45,6 +45,8 @@ func fetchChannel(c *gin.Context, modelName string) (channel *model.Channel, pas
return
}
c.Set("channel_id", channel.Id)
return
}