Fixed AuthUserTransformer #70
This commit is contained in:
parent
3b2ab6c8a0
commit
877efe086b
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user