From 1f6f99018522d249d6f6d69f8eb5f0039a481385 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 22 Oct 2025 12:33:13 +0200 Subject: [PATCH] Fixed Role Entity field names --- identity/entity/role.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/identity/entity/role.go b/identity/entity/role.go index 2db66f4..40a6446 100644 --- a/identity/entity/role.go +++ b/identity/entity/role.go @@ -1,7 +1,8 @@ package identity type Role struct { - ID string `db:"id" json:"id"` - Roles []byte `db:"roles" json:"roles"` - URL string `db:"url" json:"url"` + ID string `db:"id" json:"id"` + Name string `db:"name" json:"name"` + DisplayName string `db:"display_name" json:"display_name"` + URL string `db:"url" json:"url"` }