feat(auth): add feedback state for user and role management (#1191)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user