Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class App {
// This would be better suited if we already knew the data
// to which to update or insert which out querying the XIS.
// This is a fail safe though for those IDs that failed to be inserted.
const query = `id=${process.env.PROVIDER}`;
const query = `provider=${process.env.PROVIDER}`;
return await this.destinationWebService.request(`${process.env.DESTINATION_ENDPOINT}?${query}`);
} catch (error) {
this.outputToConsole(error, 'error');
Expand Down
2 changes: 1 addition & 1 deletion src/webservice/webservice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Webservice {
* @returns The response.
*/
async request(url: string): Promise<unknown> {
return await axios.get(`${this.host}${url}`);
return (await axios.get(`${this.host}${url}`)).data;
}
}

Expand Down