fix(dashboard-v2): fix skylinks validation for sponsor keys

This commit is contained in:
Michał Leszczyk 2022-04-14 18:34:16 +02:00
parent babb6a48ad
commit 03c9fe01b2
No known key found for this signature in database
GPG Key ID: FA123CA8BAA2FBF4
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ export const AddSponsorKeyForm = forwardRef(({ onSuccess }, ref) => {
json: {
name,
public: "true",
skylinks: [...skylinks, nextSkylink].filter(Boolean).map(parseSkylink),
skylinks: [...skylinks, nextSkylink].filter(Boolean).map((skylink) => parseSkylink(skylink)),
},
})
.json();