fix(dashboard-v2): fix skylinks validation for sponsor keys
This commit is contained in:
parent
babb6a48ad
commit
03c9fe01b2
|
@ -80,7 +80,7 @@ export const AddSponsorKeyForm = forwardRef(({ onSuccess }, ref) => {
|
||||||
json: {
|
json: {
|
||||||
name,
|
name,
|
||||||
public: "true",
|
public: "true",
|
||||||
skylinks: [...skylinks, nextSkylink].filter(Boolean).map(parseSkylink),
|
skylinks: [...skylinks, nextSkylink].filter(Boolean).map((skylink) => parseSkylink(skylink)),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.json();
|
.json();
|
||||||
|
|
Reference in New Issue