From 3396c9ea8e44273fd782961843ba3e1659bb9f0a Mon Sep 17 00:00:00 2001 From: Prabhjot Singh Sethi Date: Thu, 12 Jun 2025 05:35:23 +0000 Subject: [PATCH] Align the variable name for resource Signed-off-by: Prabhjot Singh Sethi --- route/route.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/route/route.go b/route/route.go index 556a6ac..97a951e 100644 --- a/route/route.go +++ b/route/route.go @@ -44,8 +44,8 @@ type Route struct { IsUserSpecific *bool `bson:"isUserSpecific,omitempty"` // RBAC constructs associated with Route - ResourceName string `bson:"resourceName,omitempty"` - Verb string `bson:"verb,omitempty"` + Resource string `bson:"resource,omitempty"` + Verb string `bson:"verb,omitempty"` } type RouteTable struct {