Skip to content

Commit

Permalink
Include compliance version as part of its URI
Browse files Browse the repository at this point in the history
  • Loading branch information
rogargon committed Nov 20, 2023
1 parent 8b04030 commit 4b41f5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {

complianceUri:
process.env.NEXT_PUBLIC_COMPLIANCE_URI ||
'https://compliance.lab.gaia-x.eu',
'https://compliance.lab.gaia-x.eu/v1',

complianceApiVersion:
process.env.NEXT_PUBLIC_COMPLIANCE_API_VERSION || '2210',
Expand Down
2 changes: 1 addition & 1 deletion src/components/Publish/_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ export async function verifyRawServiceCredential(
// parsedServiceSD?.selfDescriptionCredential?.['@context']
// )

const baseUrl = `${complianceUri}/v1/api/credential-offers`
const baseUrl = `${complianceUri}/api/credential-offers`

try {
const response = await axios.post(baseUrl, parsedServiceCredential)
Expand Down

0 comments on commit 4b41f5c

Please sign in to comment.