mirror of https://github.com/zulip/zulip.git
initialize_voyager_db: Fix zulip.com hardcoding.
This commit is contained in:
parent
55d7947b76
commit
3bdbc33e94
|
@ -41,7 +41,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
# type: (*Any, **Any) -> None
|
# type: (*Any, **Any) -> None
|
||||||
Realm.objects.create(domain="zulip.com")
|
Realm.objects.create(domain=settings.INTERNAL_BOT_DOMAIN)
|
||||||
|
|
||||||
names = [(settings.FEEDBACK_BOT_NAME, settings.FEEDBACK_BOT)]
|
names = [(settings.FEEDBACK_BOT_NAME, settings.FEEDBACK_BOT)]
|
||||||
create_users(names, bot_type=UserProfile.DEFAULT_BOT)
|
create_users(names, bot_type=UserProfile.DEFAULT_BOT)
|
||||||
|
|
Loading…
Reference in New Issue