Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

user_profile: Fix return type of get_human_profile_data.

Sairam Bisoyiffdeecdce1ce
diff --git a/web/src/user_profile.ts b/web/src/user_profile.ts
index db1f4c01958..396126b75d3 100644
--- a/web/src/user_profile.ts
+++ b/web/src/user_profile.ts
@@ -1134,7 +1134,7 @@ export function show_edit_bot_info_modal(user_id: number, $container: JQuery): v
function get_human_profile_data(fields_user_pills: Map<number, user_pill.UserPillWidget>): {
id: number;
- value: number[];
+ value: string | number[];
}[] {
/*
This formats custom profile field data to send to the server.