@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
2 lines • 402 B
JavaScript
import{copy as e}from"../../libs/i18n/copy.mjs";import t from"../../utils/security-audit/sort-role-snapshot.mjs";const n=async(n,r)=>{try{return{error:void 0,data:JSON.stringify({roles:t(r.roles),superAdmin:r.superAdmin})}}catch{return{error:{type:`basic`,status:500,message:e(`server:core.errors.default.message`)},data:void 0}}};export{n as default};
//# sourceMappingURL=serialize-role-value.mjs.map