'use strict';

angular.module( 'ngynServerConnection' )
  .value( 'defaultResponseInterceptors', {
    jsonNetStripper: function( hubName, methodName, response ) {
      if ( response.$values ) {
        return response.$values;
      }

      return response;
    }
  } );

'use strict';

angular.module( 'ngynServerConnection' )
  .value( 'defaultResponseInterceptors', {
    jsonNetStripper: function( hubName, methodName, response ) {
      if ( response && response.$values ) {
        return response.$values;
      }

      return response;
    }
  } );

Fix issue dealing with empty responses in response interceptor
Fix issue dealing with empty responses in response interceptor