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,
)
print(f"Instance succesfully registered with owner: {instance.owner.email}")
print(f"Instance succesfully registered with owner: {instance.primary_owner.email}")
return
print("Instance could not be registered")
return
else:
print(
f"Instance already registered with instance owner: {instance.owner.email}"
f"Instance already registered with instance owner: {instance.primary_owner.email}"
)
return
except ImportError: