1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-09-19 10:50:11 +00:00

accounts: fix profile list for enabling referrals

when I moved the available profile list from GET(/invites) to
GET(/profiles/names), I forgot to remove the multiple places which
called the former and set the (now undefined) profiles value.
This commit is contained in:
Harvey Tindall 2024-08-29 12:14:43 +01:00
parent a1612949bf
commit 3559e32c2f
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
2 changed files with 0 additions and 2 deletions

View File

@ -1510,7 +1510,6 @@ export class accountsList {
let innerHTML = "";
let invites = req.response["invites"] as Array<Invite>;
window.availableProfiles = req.response["profiles"];
if (invites) {
for (let inv of invites) {
let name = inv.code;

View File

@ -285,7 +285,6 @@ export class ProfileEditor {
let innerHTML = "";
let invites = req.response["invites"] as Array<Invite>;
window.availableProfiles = req.response["profiles"];
if (invites) {
for (let inv of invites) {
let name = inv.code;