Skip to content

Commit

Permalink
(entity/staff) UserIDのjson tagを変更
Browse files Browse the repository at this point in the history
  • Loading branch information
Shion1305 committed Feb 25, 2024
1 parent 20c569c commit 46d459b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svc/pkg/infra/entity/staff/staff.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package entity
const StaffTableName = "Staffs"

type Staff struct {
UserID string `json:"user_id"`
UserID string `json:"-"`
IsAdmin bool `json:"is_admin"`
}

0 comments on commit 46d459b

Please sign in to comment.