feat(auth): add feedback state for user and role management (#1191)

This commit is contained in:
Rıdvan Akca
2023-08-07 12:08:29 +03:00
committed by GitHub
parent 7ca37c412e
commit b4cda90338
10 changed files with 161 additions and 100 deletions

View File

@@ -32,11 +32,10 @@ const updateUser = async (
// void
}
const user = await User.query()
.patchAndFetchById(
params.input.id,
userPayload,
);
const user = await User.query().patchAndFetchById(
params.input.id,
userPayload
);
return user;
};