Skip to content

Commit

Permalink
Fix Issue in the types.bal incorrect range given in the constraint fo…
Browse files Browse the repository at this point in the history
…r UserResponse Data type
  • Loading branch information
HussainLatiff committed Jul 4, 2024
1 parent 32e4023 commit 657f635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ballerina/types.bal
Original file line number Diff line number Diff line change
Expand Up @@ -1800,7 +1800,7 @@ public type UserResponse record {
string? avatar?;
string discriminator;
int:Signed32 public_flags;
@constraint:Int {minValue: 1, maxValue: -1}
@constraint:Int {minValue: -1, maxValue: 1}
int flags;
boolean? bot?;
boolean? system?;
Expand Down

0 comments on commit 657f635

Please sign in to comment.