♻️ Refactor urls with aliased services
This commit is contained in:
@ -63,7 +63,7 @@ async function confirm() {
|
||||
return
|
||||
}
|
||||
|
||||
const res = await fetch(`${config.public.solarNetworkApi}/cgi/auth/users/me/confirm`, {
|
||||
const res = await fetch(`${config.public.solarNetworkApi}/cgi/id/users/me/confirm`, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({
|
||||
|
@ -84,7 +84,7 @@ async function confirm() {
|
||||
return
|
||||
}
|
||||
|
||||
const res = await fetch(`${config.public.solarNetworkApi}/cgi/auth/users/me/password-reset`, {
|
||||
const res = await fetch(`${config.public.solarNetworkApi}/cgi/id/users/me/password-reset`, {
|
||||
method: "PATCH",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({
|
||||
|
Reference in New Issue
Block a user