mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
Refactor api requests and components out of pages
This commit is contained in:
@@ -20,6 +20,7 @@ const createNewBeerImages = async ({
|
||||
prisma.beerImage.create({
|
||||
data: {
|
||||
url: 'https://picsum.photos/900/1600',
|
||||
alt: 'Placeholder beer image.',
|
||||
beerPost: { connect: { id: beerPost.id } },
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user