mirror of
https://github.com/robonen/metr.git
synced 2026-03-20 10:54:41 +00:00
Vue, back edited,added
This commit is contained in:
10
frontend/src/services/offer.js
Normal file
10
frontend/src/services/offer.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import api from "@/services/api";
|
||||
|
||||
export const OfferService = {
|
||||
async add(data) {
|
||||
const resp = await api.post('/offers', data);
|
||||
return resp;
|
||||
},
|
||||
};
|
||||
|
||||
export default OfferService;
|
||||
Reference in New Issue
Block a user