-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from websitesieutoc/make-webhook
Make webhook
- Loading branch information
Showing
3 changed files
with
35 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { NextRequest, NextResponse } from 'next/server'; | ||
|
||
export async function POST(req: NextRequest) { | ||
const { content } = await req.json(); | ||
console.log('### content: ', { content }); | ||
|
||
return new NextResponse('Received', { | ||
status: 200, | ||
}); | ||
} |
20 changes: 20 additions & 0 deletions
20
prisma/migrations/20231023204539_remove_unused_things/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the column `font` on the `Site` table. All the data in the column will be lost. | ||
- You are about to drop the column `image` on the `Site` table. All the data in the column will be lost. | ||
- You are about to drop the column `imageBlurhash` on the `Site` table. All the data in the column will be lost. | ||
- You are about to drop the column `logo` on the `Site` table. All the data in the column will be lost. | ||
- You are about to drop the column `message404` on the `Site` table. All the data in the column will be lost. | ||
- You are about to drop the `Example` table. If the table is not empty, all the data it contains will be lost. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "Site" DROP COLUMN "font", | ||
DROP COLUMN "image", | ||
DROP COLUMN "imageBlurhash", | ||
DROP COLUMN "logo", | ||
DROP COLUMN "message404"; | ||
|
||
-- DropTable | ||
DROP TABLE "Example"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters