Skip to content

Commit

Permalink
add constraints to ensure values stay within the valid range of 0-100
Browse files Browse the repository at this point in the history
  • Loading branch information
spoetnik committed Dec 6, 2024
1 parent de806ef commit ebd406a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spotify/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ schema:
bitrate: list(96|160|320)
username: str?
password: password?
initial-volume: int?
initial-volume: match(^([0-9]|[1-9][0-9]|100)$)?

0 comments on commit ebd406a

Please sign in to comment.