feat: add service for getBySlug

This commit is contained in:
2026-04-02 09:34:03 +07:00
parent b27479cd3e
commit 59228f7d1e
2 changed files with 13 additions and 5 deletions

View File

@ -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);
}
};