static getCustomer()

in src/api/customerApi.js [9:15]


    static getCustomer(id) {
        return fetch('/api/customers/' + id).then(response => {
            return response.json();
        }).catch(error => {
            return error;
        });
    }