Commit 6ca5bbfd authored by Shaphen Pangburn's avatar Shaphen Pangburn

Fix api call bug

parent ebab7434
......@@ -2,5 +2,5 @@ import axios from 'axios'
import Config from '../config';
export const sendOrderPost = (order) => {
return axios.post(`${Config.baseApiUrl}/api/carts/api/orders`, order)
return axios.post(`${Config.baseApiUrl}/api/orders`, order)
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment