Skip to content

Commit

Permalink
Fixed deprecated fields so they are ignored from JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
applejag committed Jul 13, 2023
1 parent a1653c2 commit 173081c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/namnsdag/namnsdag.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ type Name struct {
TypeOfName Type `json:"type"`

// Deprecated: This field no longer exists on [https://dagensnamnsdag.nu]
URL string
URL string `json:"-"`
// Deprecated: This field no longer exists on [https://dagensnamnsdag.nu]
Gender Gender
Gender Gender `json:"-"`
}

// DoM returns this name's Day-of-Month.
Expand Down

0 comments on commit 173081c

Please sign in to comment.