Skip to content

Commit

Permalink
remove migration tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbos committed Dec 14, 2023
1 parent e73091e commit 17fe61f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/routes/(site)/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const load: PageServerLoad = async ({ locals, setHeaders, url }) => {

export const actions: Actions = {
logout: async function logout({ locals, cookies }) {
await /* @migration task: add path argument */ locals.prisma.session.delete({
await locals.prisma.session.delete({
where: {
access_token: cookies.get('access_token')
}
Expand Down
10 changes: 5 additions & 5 deletions src/routes/(site)/admin/shows/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ export const actions = {
if (!show_number) {
error(400, 'Invalid Show Number');
}
await /* @migration task: add path argument */ locals.prisma.transcript.delete({
where: {
show_number
}
});
await locals.prisma.transcript.delete({
where: {
show_number
}
});
return { message: `Deleted Transcript for Show ${show_number}` };
},
fetch_show_transcript: async ({ request }) => {
Expand Down

0 comments on commit 17fe61f

Please sign in to comment.