Skip to content

Commit

Permalink
Merge pull request #35 from companieshouse/lp-206-use-security-constants
Browse files Browse the repository at this point in the history
LP-206 Use constant from api-security-java
  • Loading branch information
markpit authored Nov 14, 2024
2 parents fed3c0a + a7dbef8 commit 8d69060
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.net.URI;
import java.util.HashMap;

import static uk.gov.companieshouse.limitedpartnershipsapi.utils.Constants.ERIC_IDENTITY;
import static uk.gov.companieshouse.api.util.security.EricConstants.ERIC_IDENTITY;
import static uk.gov.companieshouse.limitedpartnershipsapi.utils.Constants.ERIC_REQUEST_ID_KEY;
import static uk.gov.companieshouse.limitedpartnershipsapi.utils.Constants.URL_PARAM_TRANSACTION_ID;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ private Constants() { }

// Request header names
public static final String ERIC_REQUEST_ID_KEY = "X-Request-Id";
public static final String ERIC_IDENTITY = "ERIC-identity";

// URL path parameters
public static final String URL_PARAM_TRANSACTION_ID = "transaction_id";
Expand Down

0 comments on commit 8d69060

Please sign in to comment.