Fixed AuthUserTransformer #70

This commit is contained in:
Sven Heidemann 2022-10-25 07:41:13 +02:00
parent 3b2ab6c8a0
commit 877efe086b

View File

@ -22,7 +22,6 @@ class AuthUserTransformer(TransformerABC):
None, None,
datetime.now(), datetime.now(),
AuthRoleEnum.normal if dto.auth_role is None else AuthRoleEnum(dto.auth_role), AuthRoleEnum.normal if dto.auth_role is None else AuthRoleEnum(dto.auth_role),
dto.user_id,
auth_user_id=0 if dto.id is None else dto.id auth_user_id=0 if dto.id is None else dto.id
) )