skirda-backend/api/CustomersAll/index.js

11 lines
290 B
JavaScript
Raw Normal View History

2022-08-24 12:08:22 +00:00
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
};
}