fix bug
This commit is contained in:
parent
eaa3e4417a
commit
921f1d65ad
@ -71,6 +71,7 @@ func RecordConsumeLog(ctx context.Context, userId int, channelId int, promptToke
|
||||
ModelName: modelName,
|
||||
Quota: quota,
|
||||
Channel: channelId,
|
||||
TokenId: tokenId,
|
||||
}
|
||||
err := DB.Create(log).Error
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user