backend routes
This commit is contained in:
@@ -14,7 +14,7 @@ export async function PATCH(req: NextRequest) {
|
||||
|
||||
const { route_id } = await req.json()
|
||||
|
||||
const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/account/route_highlight/`, {
|
||||
const response = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/account/highlight/`, {
|
||||
method: 'PATCH',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user