From cfe3b0da2651961db2092ce42bb76194d5009da2 Mon Sep 17 00:00:00 2001 From: Deepjyoti Barman Date: Wed, 25 Sep 2024 13:24:45 +0530 Subject: [PATCH] Disable passing userContext in user get API --- recipe/dashboard/api/usersGet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/dashboard/api/usersGet.go b/recipe/dashboard/api/usersGet.go index 9c20e5f1..c31b971d 100644 --- a/recipe/dashboard/api/usersGet.go +++ b/recipe/dashboard/api/usersGet.go @@ -121,7 +121,7 @@ func UsersGet(apiImplementation dashboardmodels.APIInterface, tenantId string, o User map[string]interface{} `json:"user"` }) { defer processingGroup.Done() - userMetadataResponse, err := usermetadata.GetUserMetadata(userObj.User["id"].(string), userContext) + userMetadataResponse, err := usermetadata.GetUserMetadata(userObj.User["id"].(string)) <-sem if err != nil { errInBackground = err