Skip to content
Snippets Groups Projects
Commit eca35f4d authored by Sivert Kronen Hatteberg's avatar Sivert Kronen Hatteberg
Browse files

Allow existing comment on role to differ

parent cd4b26a7
No related branches found
No related tags found
1 merge request!241Add admin command for importing guest data from file
Pipeline #109870 failed
......@@ -162,8 +162,8 @@ class Command(BaseCommand):
orgunit=orgunit,
person=person,
type=role_type,
comments=role_data["comment"],
)
role.comments = role_data["comment"],
role.end_date = self._end_date
role.save()
logger.info("updating_existing_role", role=role, sponsor=role.sponsor)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment