Fix typo in AffiliateService: rename "NO_AFILIATE" to "NO_AFFILIATE"

This commit is contained in:
TobiGr 2020-12-23 12:50:45 +01:00
parent 865c42e273
commit 942d840624
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ public class DonationLinkHelper {
}
public enum AffiliateService {
NO_AFILIATE,
NO_AFFILIATE,
AMAZON,
}
@ -33,7 +33,7 @@ public class DonationLinkHelper {
URL url = new URL(fixLink(link));
switch (url.getHost()) {
case "amzn.to": return AffiliateService.AMAZON;
default: return AffiliateService.NO_AFILIATE;
default: return AffiliateService.NO_AFFILIATE;
}
}