Skip to content

Commit

Permalink
#88 Feat: Team 장르 세분화
Browse files Browse the repository at this point in the history
  • Loading branch information
fnzksxl committed Aug 28, 2024
1 parent 1daa88f commit 4eca9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wtnt/team/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def validate(self, data):
if not (0 < len(data.get("title")) <= 30):
raise exception.TeamNameLengthError()

valid_genres = ["웹", "", "게임"]
valid_genres = ["웹", "안드로이드", "IOS", "크로스플랫폼", "게임", "기타"]
if data.get("genre") not in valid_genres:
raise exception.TeamGenreNotValidError()

Expand Down

0 comments on commit 4eca9ee

Please sign in to comment.