mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-20 00:05:26 +02:00
fix: Adapt to new API
This commit is contained in:
parent
e5403552cf
commit
279406b9c7
@ -1,8 +1,8 @@
|
|||||||
import {client} from "~/constants/axios-client"
|
import {client} from "~/constants/axios-client"
|
||||||
import {Alias} from "~/server-types"
|
import {Alias} from "~/server-types"
|
||||||
|
|
||||||
export default async function getAlias(address: string): Promise<Alias> {
|
export default async function getAlias(aliasID: string): Promise<Alias> {
|
||||||
const {data} = await client.get(`${import.meta.env.VITE_SERVER_BASE_URL}/v1/alias/${address}`, {
|
const {data} = await client.get(`${import.meta.env.VITE_SERVER_BASE_URL}/v1/alias/${aliasID}`, {
|
||||||
withCredentials: true,
|
withCredentials: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user