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