UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 326 B
import e from"../../libs/repositories/options.mjs";const t=async(t,n)=>{let r=new e(t.db.client,t.config.db),i=n.alertEmail?.trim()||null,a=await r.upsertSingle({data:{name:`system_alert_email`,value_text:i}});return a.error?a:{error:void 0,data:void 0}};export{t as default}; //# sourceMappingURL=update-system-alerts.mjs.map