Fix: /api/-Prefix in gruender.js+settings.js entfernt; Grant-Fehler sichtbar, SW by-v553
This commit is contained in:
parent
2f1dfd481c
commit
c2a5fbba7d
5 changed files with 6 additions and 5 deletions
|
|
@ -1450,7 +1450,7 @@ window.Page_settings = (() => {
|
|||
if (code.length < 3) return;
|
||||
_debounce = setTimeout(async () => {
|
||||
try {
|
||||
const info = await API.get(`/api/partner/codes/${encodeURIComponent(code)}/info`);
|
||||
const info = await API.get(`/partner/codes/${encodeURIComponent(code)}/info`);
|
||||
if (info.redeemable) {
|
||||
partnerHint.textContent = info.grants_founder
|
||||
? `✓ Gültiger Code von "${info.label}" — du erhältst eine lebenslange Gründer-Lizenz!`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue