js/dataManager/serverRequestManager.js
function addDataRequest(requestDict){

    logger.info('Adding request to server');

    const dataRequest = _getServerRequest(requestDict);

    _addRequestToDb(dataRequest).then(() => {

        if (!requestingPost){

            _makeRequestToServer();

        }

    });

}
function addDataRequest(requestDict){

    logger.info('Adding request to server');

    const dataRequest = _getServerRequest(requestDict);

    _addRequestToDb(dataRequest).then(() => {

        if (!requestingPost){

            _makeRequestToServer();

        }

    });

}
function addDataRequest ( requestDict ) { logger . info ( 'Adding request to server' ) ; const dataRequest = _getServerRequest ( requestDict ) ; _addRequestToDb ( dataRequest ) . then ( ( ) => { if ( ! requestingPost ) { _makeRequestToServer ( ) ; } } ) ; }
Adds request to send data in list of requests
@memberof ServerRequestManager
@param {object} requestDict The dictionary contaning data for the added request
Adds request to send data in list of requests