Don't hardcode repo URL for update check user agent
parent
5a352a5073
commit
86529ae50c
|
@ -44,7 +44,7 @@ async function refreshVersions() {
|
|||
apiUrl,
|
||||
{
|
||||
headers: {
|
||||
'User-Agent': `Modmailbot (https://github.com/dragory/modmailbot) (${packageJson.version})`
|
||||
'User-Agent': `Modmailbot (https://github.com/${owner}/${repo}) (${packageJson.version})`
|
||||
}
|
||||
},
|
||||
async res => {
|
||||
|
|
Loading…
Reference in New Issue