switched to nextjs
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import getBlogs from './blog';
|
||||
import { notion, databaseId } from './notion';
|
||||
|
||||
export async function GET() {
|
||||
let [status, data] = await getBlogs(notion, databaseId);
|
||||
return Response.json(data, { status });
|
||||
}
|
||||
Reference in New Issue
Block a user