mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 18:09:40 +05:00
feat: add release franchise to search results.
chore: update search API version
This commit is contained in:
parent
3a800a4933
commit
b1c18da065
4 changed files with 63 additions and 6 deletions
|
@ -12,7 +12,7 @@ export async function GET(request) {
|
|||
}
|
||||
const data = { query, searchBy: 0 };
|
||||
|
||||
const response = await fetchDataViaPost(url.toString(), data);
|
||||
const response = await fetchDataViaPost(url.toString(), data, true);
|
||||
if (!response) {
|
||||
return NextResponse.json({ message: "Bad request" }, { status: 400 });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue