Closed iamacook closed 1 week ago
We validate SafeApp['socialProfiles'][number]['platform'] as a string. However, they can only be DISCORD, GITHUB or TWITTER.
SafeApp['socialProfiles'][number]['platform']
DISCORD
GITHUB
TWITTER
This adds the relevant validation for the above values, falling back to UNKNOWN if it does not match.
UNKNOWN
SafeAppSocialProfilePlatforms
Summary
We validate
SafeApp['socialProfiles'][number]['platform']
as a string. However, they can only beDISCORD
,GITHUB
orTWITTER
.This adds the relevant validation for the above values, falling back to
UNKNOWN
if it does not match.Changes
SafeAppSocialProfilePlatforms
enum