FEAT: add route to get data asset by pipeline and object

This commit is contained in:
Anderson Feitosa
2022-12-22 17:00:56 -03:00
parent 5a23923e53
commit b38e9f26c3
6 changed files with 102 additions and 8 deletions
+2
View File
@@ -122,6 +122,7 @@ export class UsersService implements OnModuleInit {
if (roleNames) {
await this.setRoles({ roleNames, userId: id }, customerId);
}
const metabaseUserId = '1';
const { user } = await lastValueFrom(
this.usersClientService.UserUpdate({
name,
@@ -131,6 +132,7 @@ export class UsersService implements OnModuleInit {
hierarchy,
jobTitle,
email,
metabaseUserId,
}),
);
return { user: this.adjustUsersPayload([user])[0] };