dev: instance owner fix

This commit is contained in:
pablohashescobar 2023-11-14 11:03:09 +00:00
parent 46f2663854
commit fea812f1b1

View File

@ -84,14 +84,14 @@ def instance_registration():
role=20, role=20,
) )
print(f"Instance succesfully registered with owner: {instance.owner.email}") print(f"Instance succesfully registered with owner: {instance.primary_owner.email}")
return return
print("Instance could not be registered") print("Instance could not be registered")
return return
else: else:
print( print(
f"Instance already registered with instance owner: {instance.owner.email}" f"Instance already registered with instance owner: {instance.primary_owner.email}"
) )
return return
except ImportError: except ImportError: