From 13f63050bd53e27163dbecdd081492e0852d66a5 Mon Sep 17 00:00:00 2001 From: Shion Ichikawa Date: Mon, 26 Feb 2024 02:09:43 +0900 Subject: [PATCH] (entity/staff) Us --- svc/pkg/infra/entity/staff/staff.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/pkg/infra/entity/staff/staff.go b/svc/pkg/infra/entity/staff/staff.go index b6d6ff5..24f7100 100644 --- a/svc/pkg/infra/entity/staff/staff.go +++ b/svc/pkg/infra/entity/staff/staff.go @@ -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"` }