Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
fix: restore default indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel authored Oct 29, 2021
1 parent eb0d046 commit e1a9f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (p *OptionalString) UnmarshalJSON(input []byte) error {

func (p OptionalString) String() string {
if p.value == nil {
return ""
return "default"
}
return *p.value
}
Expand Down

0 comments on commit e1a9f97

Please sign in to comment.