🔨 Removing Code Smells

This commit is contained in:
Ricardo Paes
2022-02-25 08:25:50 -03:00
parent 84bbe3afaa
commit 43f2771a93
3 changed files with 3 additions and 7 deletions

View File

@@ -68,9 +68,7 @@ const CreateUserService = async ({
await user.reload();
const serializedUser = SerializeUser(user);
return serializedUser;
return SerializeUser(user);
};
export default CreateUserService;

View File

@@ -58,9 +58,7 @@ const UpdateUserService = async ({
await user.reload();
const serializedUser = SerializeUser(user);
return serializedUser;
return SerializeUser(user);
};
export default UpdateUserService;