src/network/fetch.js
function updateRequestStatus(request) {
    if (!request || !request.id || !request.status) { return; }
    dispatcher.handleViewAction({
        data: { request: request },
        type: 'update'
    });
    return request;
}
function updateRequestStatus(request) {
    if (!request || !request.id || !request.status) { return; }
    dispatcher.handleViewAction({
        data: { request: request },
        type: 'update'
    });
    return request;
}
function updateRequestStatus ( request ) { if ( ! request || ! request . id || ! request . status ) { return ; } dispatcher . handleViewAction ( { data : { request : request } , type : 'update' } ) ; return request ; }
Update the request status.
@param  {object} request - The request to treat.
@return {object} - The request to dispatch.
Update the request status .