fix signup url
All checks were successful
Build and Push Docker Image / Build image (push) Successful in 1m31s
All checks were successful
Build and Push Docker Image / Build image (push) Successful in 1m31s
This commit is contained in:
parent
e81b7abd1a
commit
f8647c50ae
@ -7,7 +7,7 @@ import { fetchToken } from "./login";
|
|||||||
|
|
||||||
const signUp = async (username: string, password: string, token: string) => {
|
const signUp = async (username: string, password: string, token: string) => {
|
||||||
try {
|
try {
|
||||||
const response = await api.post(`/signup?token=${token}`, {
|
const response = await api.post(`/auth/signup?token=${token}`, {
|
||||||
username: username,
|
username: username,
|
||||||
password: password,
|
password: password,
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user