fix(signup): change API endpoint from /api/gateway/auth/register to /api/auth/register
Some checks failed
build-and-release / build (push) Failing after 1m16s
Some checks failed
build-and-release / build (push) Failing after 1m16s
This commit is contained in:
parent
0cf975f227
commit
07aa835da5
4 changed files with 4 additions and 4 deletions
|
|
@ -156,7 +156,7 @@ export default function CompanySignupRoute() {
|
||||||
|
|
||||||
setSubmitting(true);
|
setSubmitting(true);
|
||||||
try {
|
try {
|
||||||
const res = await fetch("/api/gateway/auth/register", {
|
const res = await fetch("/api/auth/register", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: { "Content-Type": "application/json", Accept: "application/json" },
|
headers: { "Content-Type": "application/json", Accept: "application/json" },
|
||||||
credentials: "include",
|
credentials: "include",
|
||||||
|
|
|
||||||
|
|
@ -154,7 +154,7 @@ export default function CustomerSignupRoute() {
|
||||||
|
|
||||||
setSubmitting(true);
|
setSubmitting(true);
|
||||||
try {
|
try {
|
||||||
const res = await fetch("/api/gateway/auth/register", {
|
const res = await fetch("/api/auth/register", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: { "Content-Type": "application/json", Accept: "application/json" },
|
headers: { "Content-Type": "application/json", Accept: "application/json" },
|
||||||
credentials: "include",
|
credentials: "include",
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ export default function JobSeekerSignupRoute() {
|
||||||
|
|
||||||
setSubmitting(true);
|
setSubmitting(true);
|
||||||
try {
|
try {
|
||||||
const res = await fetch("/api/gateway/auth/register", {
|
const res = await fetch("/api/auth/register", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: { "Content-Type": "application/json", Accept: "application/json" },
|
headers: { "Content-Type": "application/json", Accept: "application/json" },
|
||||||
credentials: "include",
|
credentials: "include",
|
||||||
|
|
|
||||||
|
|
@ -161,7 +161,7 @@ export default function ProfessionalSignupRoute() {
|
||||||
|
|
||||||
setSubmitting(true);
|
setSubmitting(true);
|
||||||
try {
|
try {
|
||||||
const res = await fetch("/api/gateway/auth/register", {
|
const res = await fetch("/api/auth/register", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: { "Content-Type": "application/json", Accept: "application/json" },
|
headers: { "Content-Type": "application/json", Accept: "application/json" },
|
||||||
credentials: "include",
|
credentials: "include",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue