mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
Refactor codebase, format
This commit is contained in:
6
services/BeerPostLike/findBeerPostLikeById.ts
Normal file
6
services/BeerPostLike/findBeerPostLikeById.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import DBClient from '@/prisma/DBClient';
|
||||
|
||||
const findBeerPostLikeById = async (id: string) =>
|
||||
DBClient.instance.beerPostLike.findUnique({ where: { id } });
|
||||
|
||||
export default findBeerPostLikeById;
|
||||
Reference in New Issue
Block a user