mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
parent
12e057c983
commit
bb2f196017
@ -846,7 +846,7 @@ export async function getEnpoint (): Promise<string | undefined> {
|
|||||||
body: JSON.stringify(request)
|
body: JSON.stringify(request)
|
||||||
})
|
})
|
||||||
const result = await response.json()
|
const result = await response.json()
|
||||||
return result
|
return result.result
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
console.log('get endpoint error', err)
|
console.log('get endpoint error', err)
|
||||||
Analytics.handleError(err)
|
Analytics.handleError(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user