mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
Restructure codebase to use src directory
This commit is contained in:
11
src/services/BeerPostLike/removeBeerPostLikeById.ts
Normal file
11
src/services/BeerPostLike/removeBeerPostLikeById.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import DBClient from '@/prisma/DBClient';
|
||||
|
||||
const removeBeerPostLikeById = async (id: string) => {
|
||||
return DBClient.instance.beerPostLike.delete({
|
||||
where: {
|
||||
id,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
export default removeBeerPostLikeById;
|
||||
Reference in New Issue
Block a user