From b4711d1a2aee48de8c013f07e2316bcf74084405 Mon Sep 17 00:00:00 2001 From: mz01-utrainbow Date: Wed, 8 May 2024 11:23:24 +0900 Subject: [PATCH] pointer set --- handler/workspaceHandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/workspaceHandler.go b/handler/workspaceHandler.go index f093d89..0efa3e6 100644 --- a/handler/workspaceHandler.go +++ b/handler/workspaceHandler.go @@ -107,7 +107,7 @@ func UpdateWorkspace(tx *pop.Connection, bindModel iammodels.WorkspaceInfo) map[ func GetWorkspaceList(tx *pop.Connection, userId string) iammodels.WorkspaceInfos { var bindModel models.MCIamWorkspaces cblogger.Info("userId : " + userId) - err := models.DB.All(bindModel) + err := models.DB.All(&bindModel) if err != nil { cblogger.Error(err)