mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:07:30 +00:00
fix: todos (#1502)
* fix: remove console log * fix: remove todos * fix: setup uniqueness * fix: setup uniqueness
This commit is contained in:
@@ -74,7 +74,6 @@ func (c *Commands) ChangeMachine(ctx context.Context, machine *domain.Machine) (
|
||||
return writeModelToMachine(existingMachine), nil
|
||||
}
|
||||
|
||||
//TODO: adlerhurst we should check userID on the same level, in user.go userID is checked in public funcs
|
||||
func (c *Commands) machineWriteModelByID(ctx context.Context, userID, resourceOwner string) (writeModel *MachineWriteModel, err error) {
|
||||
if userID == "" {
|
||||
return nil, caos_errs.ThrowInvalidArgument(nil, "COMMAND-0Plof", "Errors.User.UserIDMissing")
|
||||
|
Reference in New Issue
Block a user