chore: split question and and answer to components
This commit is contained in:
parent
c8f730208d
commit
4a75e3774a
5 changed files with 348 additions and 194 deletions
|
|
@ -9,7 +9,8 @@ export async function GET(request: NextRequest) {
|
|||
return NextResponse.json(data as object, {
|
||||
headers: setSession(sessionId),
|
||||
})
|
||||
} catch (error) {
|
||||
return NextResponse.json([]);
|
||||
}
|
||||
catch (error) {
|
||||
return NextResponse.json([])
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue