Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
fix: Add colon between json and "country"
Browse files Browse the repository at this point in the history
im asleep
  • Loading branch information
devkcud committed Jun 8, 2024
1 parent 1430900 commit ae7a89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/model/dto/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type UserUpdate struct {
// NOTE: Notification and Show structs will be in another method/route to update
// due to the nature of structs being a pain in the ass to work with :/

Country string `validate:"omitempty" json"country"`
Country string `validate:"omitempty" json:"country"`

Language language.Language `validate:"omitempty,mustbesupportedlanguage" json:"language"`
}

0 comments on commit ae7a89a

Please sign in to comment.