skirda-backend/api/CustomersAll/index.js
2022-08-24 15:08:22 +03:00

11 lines
290 B
JavaScript

const customers = require('../data/customers.json');
module.exports = async function (context, req) {
context.res = {
headers: {
'Content-Type': 'application/json'
},
// status: 200, /* Defaults to 200 */
body: customers
};
}