add API namespace
This commit is contained in:
@@ -43,7 +43,7 @@ const AddChip = (props) => {
|
||||
}
|
||||
|
||||
try{
|
||||
const submitResponse = await axios.post('/chips', chipRequest);
|
||||
const submitResponse = await axios.post('/api/chips', chipRequest);
|
||||
|
||||
if (submitResponse && submitResponse.status === 200 && submitResponse.data) {
|
||||
M.toast({ html: "Chipped In" });
|
||||
|
||||
Reference in New Issue
Block a user