set custom configs quotas to right number
This commit is contained in:
parent
69b2bf9bdb
commit
8a399bfbdf
|
@ -1 +1 @@
|
|||
Subproject commit 320f8ecf8ae769995590ddc4e3679ef7c110bc11
|
||||
Subproject commit 4300b75bde89e37bb0bace927a0e8d204367ae71
|
|
@ -253,6 +253,8 @@ export async function save(ctx: UserCtx<Config>) {
|
|||
if (existingConfig) {
|
||||
await verifyAIConfig(config, existingConfig)
|
||||
}
|
||||
const numConfigs = Object.keys(config).length
|
||||
await pro.quotas.updateCustomAIConfigCount(numConfigs)
|
||||
break
|
||||
}
|
||||
} catch (err: any) {
|
||||
|
|
Loading…
Reference in New Issue