Key federation imports on the new immutable event_uri field instead of the mutable event_url
This commit is contained in:
parent
2f9d602973
commit
1788b96f54
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Command(BaseCommand):
|
|||
for record in json_data:
|
||||
record['federation_node'] = options['url']
|
||||
record['federation_time'] = datetime.datetime.now()
|
||||
Searchable.objects.update_or_create(defaults=record, event_url=record['event_url'])
|
||||
Searchable.objects.update_or_create(defaults=record, event_uri=record['event_uri'])
|
||||
|
||||
else:
|
||||
print("No URL in options!")
|
||||
|
|
Loading…
Reference in a new issue