remove pointer on ctxData

This commit is contained in:
Livio Amstutz
2020-03-30 10:06:48 +02:00
parent 501d453822
commit e5e39b3a6a
2 changed files with 6 additions and 16 deletions

View File

@@ -8,7 +8,7 @@ import (
)
func getTestCtx(userID, orgID string) context.Context {
return context.WithValue(context.Background(), CtxKeyData{}, &CtxData{UserID: userID, OrgID: orgID})
return context.WithValue(context.Background(), CtxKeyData{}, CtxData{UserID: userID, OrgID: orgID})
}
type testVerifier struct {