We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5637c0e commit 5eb33afCopy full SHA for 5eb33af
src/app/api/play/route.ts
@@ -1,13 +1,11 @@
1
-import { myBookmarks } from "@/backend/services/bookmark.action";
2
import { NextResponse } from "next/server";
3
4
export async function GET() {
5
- const bookmarks = await myBookmarks({
6
- resource_type: "ARTICLE",
7
- });
8
-
9
- return NextResponse.json(bookmarks, {
10
- status: 200,
11
- headers: { "Content-Type": "application/json" },
12
+ return NextResponse.json(
+ { play: true },
+ {
+ status: 200,
+ headers: { "Content-Type": "application/json" },
+ }
+ );
13
}
0 commit comments