UNPKG

@lucidcms/core

Version:

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

2 lines 455 B
import e from"../../../services/media/client/get-single.mjs";import{runToolkitService as t,withToolkitTenant as n}from"../utils.mjs";const r=async(r,i)=>t(()=>e(n(r,i),{id:i.id}),{name:{key:`core.toolkit.media.get.single.error.name`,defaultMessage:`Media Toolkit Error`},message:{key:`core.toolkit.media.get.single.error.message`,defaultMessage:`Lucid toolkit could not fetch a media item.`}});export{r as default}; //# sourceMappingURL=get-single.mjs.map