salix-front/src/pages/Order/composables/confirmOrder.js

6 lines
129 B
JavaScript

import axios from 'axios';
export async function confirm(routeId) {
return await axios.post(`Orders/${routeId}/confirm`);
}