mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
fix user token
This commit is contained in:
parent
0aa90b54d9
commit
7636a82d5d
@ -32,7 +32,7 @@ async function handle(
|
|||||||
) {
|
) {
|
||||||
current_day_limit_token = current_user.everyLimitToken * 1000;
|
current_day_limit_token = current_user.everyLimitToken * 1000;
|
||||||
} else {
|
} else {
|
||||||
current_day_limit_token = 0;
|
current_day_limit_token = 200 * 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
const current_day_token = await prisma.logEntry
|
const current_day_token = await prisma.logEntry
|
||||||
|
Loading…
Reference in New Issue
Block a user