chore: Remove redundant roleId from user serializer

This commit is contained in:
Faruk AYDIN
2024-02-23 01:30:57 +01:00
parent 14923d4cd6
commit 3abf61152a
5 changed files with 2 additions and 6 deletions

View File

@@ -15,7 +15,6 @@ const getCurrentUserMock = (currentUser, role) => {
name: role.name,
updatedAt: role.updatedAt.toISOString(),
},
roleId: role.id,
trialExpiryDate: currentUser.trialExpiryDate.toISOString(),
updatedAt: currentUser.updatedAt.toISOString(),
},