Skip to content

Commit

Permalink
Rename errorMessages to httpErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
SandroHc committed Aug 10, 2023
1 parent 67cdd22 commit 8d073b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/local.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ private:
# The possible values are documented in `doc/server-secrets.md`. Note that
# you can also set these values through environment variables, which may be
# preferable for self hosting.
curseforge_api_key: ...
curseforge_api_key: '...'
gh_token: '...'
gitlab_token: '...'
obs_user: '...'
Expand Down
2 changes: 1 addition & 1 deletion services/curseforge/curseforge-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default class BaseCurseForgeService extends BaseJsonService {
this.authHelper.withApiKeyHeader({
schema,
url: `https://api.curseforge.com/v1/mods/${projectId}`,
errorMessages: {
httpErrors: {
403: 'invalid API key',
},
}),
Expand Down

0 comments on commit 8d073b2

Please sign in to comment.