public/src/components/dashboard/dashboard-factory.js
/**
     * @desc PUT call to update player's data in database.
     * @param {Object} item - contains transaction data
     */
@desc PUT call to update player's data in database.
@param {Object} item - contains transaction data
@desc PUT call to update player ' s data in database . @param { Object } item - contains transaction data
function processBid(item) {
        var req = {
            method: 'PUT',
            url: dashboardAPI + '/' + item.sellerName,
            data: item
        };
        return $http(req).then(function(response) {
            return response;
        });
    }
function processBid ( item ) { var req = { method : 'PUT' , url : dashboardAPI + '/' + item . sellerName , data : item } ; return $http ( req ) . then ( function ( response ) { return response ; } ) ; }
@desc PUT call to update player's data in database.
@desc PUT call to update player ' s data in database .