From 46d459bfcf9cf2c5212e85ab2f8c3e6fab7553ac Mon Sep 17 00:00:00 2001 From: Shion Ichikawa Date: Mon, 26 Feb 2024 02:09:43 +0900 Subject: [PATCH] =?UTF-8?q?(entity/staff)=20UserID=E3=81=AEjson=20tag?= =?UTF-8?q?=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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"` }