Skip to content

Commit

Permalink
Merge pull request #127 from Bside-Team-Four/fix/126
Browse files Browse the repository at this point in the history
fix: nextapiresponse to nextresponse
  • Loading branch information
thxtome authored Jun 19, 2024
2 parents 1152c17 + 9e8b74f commit ce6d422
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NextApiResponse } from "next";
import { NextResponse } from "next/server";

export async function GET(_, res:NextApiResponse) {
return res.json({
export async function GET() {
return NextResponse.json({
"applinks": {
"apps": [
{
Expand Down
6 changes: 3 additions & 3 deletions src/app/(deeplink)/.well-known/assetlinks.json/route.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NextApiRequest, NextApiResponse } from "next";
import { NextResponse } from "next/server";

export async function GET(_, res:NextApiResponse) {
return res.json([{
export async function GET() {
return NextResponse.json([{
"relation": [ "delegate_permission/common.handle_all_urls" ],
"target": {
"namespace": "android_app",
Expand Down

0 comments on commit ce6d422

Please sign in to comment.