Update Nostr name aliases to match prod username

This commit is contained in:
Danielle McLean 2023-08-10 19:32:41 +10:00
parent a6fa7ebb3a
commit 60bdaa27a0
Signed by untrusted user: 00dani
GPG key ID: 52C059C3B22A753E

View file

@ -1,7 +1,7 @@
from django.http import JsonResponse from django.http import JsonResponse
from users.models import User from users.models import User
aliases = {"00dani": ("_", "dani")} aliases = {"dani": ("_", "00dani")}
unaliases = {alias: name for (name, aliases) in aliases.items() for alias in aliases} unaliases = {alias: name for (name, aliases) in aliases.items() for alias in aliases}