mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 02:57:27 +00:00
feat: logs show reject reason
This commit is contained in:
@@ -59,6 +59,7 @@ func formatUserLogs(logs []*Log) {
|
||||
// Remove admin-only debug fields.
|
||||
delete(otherMap, "admin_info")
|
||||
delete(otherMap, "request_conversion")
|
||||
delete(otherMap, "reject_reason")
|
||||
}
|
||||
logs[i].Other = common.MapToJsonStr(otherMap)
|
||||
logs[i].Id = logs[i].Id % 1024
|
||||
|
||||
Reference in New Issue
Block a user