mirror of
https://github.com/WowUp/WowUp.git
synced 2026-05-19 03:54:44 -04:00
Fix an issue with funding links not being updated properly
This commit is contained in:
@@ -1322,6 +1322,10 @@ export class AddonService {
|
||||
addon.downloadUrl = latestFile.downloadUrl || addon.downloadUrl;
|
||||
}
|
||||
|
||||
if (Array.isArray(result.fundingLinks)) {
|
||||
addon.fundingLinks = result.fundingLinks;
|
||||
}
|
||||
|
||||
// If the release ID hasn't changed we don't really need to update the whole record
|
||||
if (!!latestFile?.externalId && latestFile.externalId === addon.externalLatestReleaseId) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user