mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
bugfixins for dinner
This commit is contained in:
@@ -3,8 +3,8 @@ import { NextApiRequest, NextApiResponse } from 'next'
|
||||
import got from 'got'
|
||||
import lqip from 'lqip-modern'
|
||||
|
||||
import * as types from 'lib/types'
|
||||
import * as db from 'lib/db'
|
||||
import * as types from '../lib/types'
|
||||
import * as db from '../lib/db'
|
||||
|
||||
export default async (req: NextApiRequest, res: NextApiResponse) => {
|
||||
if (req.method !== 'POST') {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { NextApiRequest, NextApiResponse } from 'next'
|
||||
|
||||
import * as types from 'lib/types'
|
||||
import { search } from 'lib/notion'
|
||||
import * as types from '../lib/types'
|
||||
import { search } from '../lib/notion'
|
||||
|
||||
export default async (req: NextApiRequest, res: NextApiResponse) => {
|
||||
if (req.method !== 'POST') {
|
||||
|
||||
Reference in New Issue
Block a user