mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
registration: Rename source_realm field to source_realm_id.
Now that we are passing source realm's id instead of string_id in source realm selector, it makes sense to rename the "source_realm" field to "source_realm_id".
This commit is contained in:
committed by
Tim Abbott
parent
4262c04db1
commit
55da3329ef
@@ -611,7 +611,7 @@ Output:
|
||||
timezone: str = "",
|
||||
realm_in_root_domain: Optional[str] = None,
|
||||
default_stream_groups: Sequence[str] = [],
|
||||
source_realm: str = "",
|
||||
source_realm_id: str = "",
|
||||
key: Optional[str] = None,
|
||||
**kwargs: Any,
|
||||
) -> HttpResponse:
|
||||
@@ -635,7 +635,7 @@ Output:
|
||||
"terms": True,
|
||||
"from_confirmation": from_confirmation,
|
||||
"default_stream_group": default_stream_groups,
|
||||
"source_realm": source_realm,
|
||||
"source_realm_id": source_realm_id,
|
||||
}
|
||||
if realm_in_root_domain is not None:
|
||||
payload["realm_in_root_domain"] = realm_in_root_domain
|
||||
|
||||
Reference in New Issue
Block a user