File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ public with sharing class NOM_OrgEnhetHelper implements Callable {
1717 ' Bad argument for method getLederForEnhetIds, should be type of String.'
1818 );
1919 }
20- when ' getOfficeUnitForNavIdent ' {
21- if (args .keySet ().contains (' navIdent ' ) && (args .get (' navIdent ' ) instanceof String )) {
22- return getOfficeUnitForNavIdent ((String ) args .get (' navIdent ' ));
20+ when ' getOfficeUnitForNavId ' {
21+ if (args .keySet ().contains (' navId ' ) && (args .get (' navId ' ) instanceof String )) {
22+ return getOfficeUnitForNavIdent ((String ) args .get (' navId ' ));
2323 }
2424 throw new NomIntHelperMalformedCallException (
25- ' Bad argument for method getOfficeUnitForNavIdent , should be type of String.'
25+ ' Bad argument for method getOfficeUnitForNavId , should be type of String.'
2626 );
2727 }
2828 when else {
@@ -588,7 +588,7 @@ public with sharing class NOM_OrgEnhetHelper implements Callable {
588588 )
589589 )
590590 ),
591- (Object ) new Map <String , Object >{ navId .getName () = > navIdent }
591+ (Object ) new Map <String , String >{ navId .getName () = > navIdent }
592592 );
593593 return query .build ();
594594 }
You can’t perform that action at this time.
0 commit comments