Skip to content

Commit

Permalink
fix: query /v1/publishers/${ipa}
Browse files Browse the repository at this point in the history
Querying `/v1/publishers/${ipa}-${pec}` yields 404.
  • Loading branch information
tensor5 committed Oct 17, 2024
1 parent 4a22954 commit 0d4ae09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registered.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = async function(request, h) {
const apiURL = config.apiURL.replace(/\/$/, '');

try {
const getPublisherResp = await fetch(`${apiURL}/publishers/${ipa}-${pec}`, {
const getPublisherResp = await fetch(`${apiURL}/publishers/${ipa}`, {
method: 'GET',
headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${config.pasetoApiToken}` },
});
Expand Down

0 comments on commit 0d4ae09

Please sign in to comment.