Skip to content

Commit

Permalink
Merge pull request #24 from erbilnas/fix/hltb-api
Browse files Browse the repository at this point in the history
fix: fix hltb user-agent header need
  • Loading branch information
erbilnas authored May 6, 2024
2 parents 7ee273f + 737c323 commit eca0d62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "erbilnas-com",
"version": "5.4",
"version": "5.4.1",
"type": "module",
"private": true,
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions server/api/hltb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { hltbApi } = useRuntimeConfig();
const getGames = async (status: string, sortBy = "name") => {
const headers = {
"Content-Type": "application/json",
"User-Agent": "PostmanRuntime",
};

const body = JSON.stringify({
Expand Down

0 comments on commit eca0d62

Please sign in to comment.