File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,20 +5,20 @@ import { ISecurityContextFactory } from './descriptions';
55
66export class ExpressServiceRegistry {
77
8- private static initJsResutfulRegistry ( app : express . Application , config ?: JsRestfulRegistryConfig ) {
8+ static initJsRestfulRegistry ( app : express . Application , config ?: JsRestfulRegistryConfig ) {
99 app . locals . jsResutfulRegistry = app . locals . jsResutfulRegistry || new JsRestfulRegistry ( app , config ) ;
1010 }
1111
1212 static registerSecurityContextFactory ( app : express . Application , factory :ISecurityContextFactory ) {
1313
14- this . initJsResutfulRegistry ( app ) ;
14+ this . initJsRestfulRegistry ( app ) ;
1515
1616 app . locals . jsResutfulRegistry . registerSecurityContextFactory ( factory ) ;
1717 }
1818
1919 static registerService ( app : express . Application , service :any ) {
2020
21- this . initJsResutfulRegistry ( app ) ;
21+ this . initJsRestfulRegistry ( app ) ;
2222
2323 app . locals . jsResutfulRegistry . registerService ( service ) ;
2424 }
You can’t perform that action at this time.
0 commit comments