diff --git a/models/HyperRequest.cfc b/models/HyperRequest.cfc index 58cb7fd..2fe8f3a 100644 --- a/models/HyperRequest.cfc +++ b/models/HyperRequest.cfc @@ -1100,7 +1100,7 @@ component accessors="true" { if ( variables.useAnnounceMethodForInterceptorService ) { variables.interceptorService.announce( "onHyperRequest", { "request" : this } ); } else { - variables.interceptorService.processState( "onHyperRequest", { "request" : this } ); + variables.interceptorService.announce( "onHyperRequest", { "request" : this } ); } try { @@ -1110,7 +1110,10 @@ component accessors="true" { callback( res ); } - param variables.useAnnounceMethodForInterceptorService = structKeyExists( variables.interceptorService, "announce" ); + param variables.useAnnounceMethodForInterceptorService = structKeyExists( + variables.interceptorService, + "announce" + ); if ( variables.useAnnounceMethodForInterceptorService ) { variables.interceptorService.announce( "onHyperResponse", @@ -1120,7 +1123,7 @@ component accessors="true" { } ); } else { - variables.interceptorService.processState( + variables.interceptorService.announce( "onHyperResponse", { "response" : res,