mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-17 18:49:09 +00:00
FIX: return only owner username
This commit is contained in:
@@ -283,7 +283,9 @@ class CatalogService implements OnModuleInit {
|
||||
{ customer_id },
|
||||
);
|
||||
return data_assets.map((data_asset) => {
|
||||
const owner = customer_users.find((u) => u.id === data_asset.owner);
|
||||
const owner = customer_users.find(
|
||||
(u) => u.id === data_asset.owner,
|
||||
)?.username;
|
||||
|
||||
const roles = [];
|
||||
const users = [];
|
||||
|
||||
Reference in New Issue
Block a user