Skip to content

Commit

Permalink
♻️ Rename default UA (fixed upptime/upptime#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary authored Apr 20, 2021
1 parent c2cfa54 commit e1a90da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export const getOctokit = async (): Promise<Octokit> => {
const config = await getConfig();
return new Octokit({
auth: config.PAT || getSecret("GH_PAT") || getSecret("GITHUB_TOKEN"),
userAgent: config["user-agent"] || getSecret("USER_AGENT") || "KojBot",
userAgent: config["user-agent"] || getSecret("USER_AGENT") || "upptime",
});
};

0 comments on commit e1a90da

Please sign in to comment.