✨ feat: add service for getBySlug
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
import { ErrorForwarder } from "../../../../helpers/error/instances/forwarder";
|
||||
|
||||
export const getMediaBySlugService = (slug: string) => {
|
||||
try {
|
||||
return `Mengambil media dengan slug '${slug}'`;
|
||||
} catch (error) {
|
||||
ErrorForwarder(error);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user