Skip to content

Commit

Permalink
query id med identgruppe i interface
Browse files Browse the repository at this point in the history
  • Loading branch information
janolaveide committed Feb 6, 2021
1 parent 434b00e commit d5bf617
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public interface Pdl extends GraphQLQueryable {

GeografiskTilknytning hentGT(HentGeografiskTilknytningQueryRequest q, GeografiskTilknytningResponseProjection p);

private Optional<String> query(String aktørId, IdentGruppe gruppe) {
default Optional<String> query(String aktørId, IdentGruppe gruppe) {
var query = new HentIdenterQueryRequest();
query.setIdent(aktørId);
return hentIdenter(query, new IdentlisteResponseProjection()
Expand Down

0 comments on commit d5bf617

Please # to comment.