feat: AI verification code recognition settings
This commit is contained in:
@@ -133,6 +133,10 @@ const settingService = {
|
||||
params.emailPrefixFilter = params.emailPrefixFilter + '';
|
||||
}
|
||||
|
||||
if (Array.isArray(params.aiCodeFilter)) {
|
||||
params.aiCodeFilter = params.aiCodeFilter + '';
|
||||
}
|
||||
|
||||
params.resendTokens = JSON.stringify(resendTokens);
|
||||
await orm(c).update(setting).set({ ...params }).returning().get();
|
||||
await this.refresh(c);
|
||||
|
||||
Reference in New Issue
Block a user