Commit 88ecda24 authored by isstuev's avatar isstuev

fix dynamic api url

parent 4b35149a
import type { NextApiRequest, NextApiResponse } from 'next'
import fetch from 'api/utils/fetch';
import fetch from 'pages/api/utils/fetch';
export default async function handler(_req: NextApiRequest, res: NextApiResponse) {
const { id } = _req.query;
......
import type { NextApiRequest, NextApiResponse } from 'next'
import fetch from 'api/utils/fetch';
import fetch from 'pages/api/utils/fetch';
export default async function handler(_req: NextApiRequest, res: NextApiResponse) {
const url = '/account/v1/user/tags/address';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment