Skip to content
This repository was archived by the owner on Jan 22, 2022. It is now read-only.

Commit 55041ef

Browse files
author
Nazar Taran
committed
Team R
1 parent 530d7c4 commit 55041ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/events_auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void reg_send_request() {
141141
cJSON_AddStringToObject(json_reg_user, "name", t_account.name);
142142
cJSON_AddStringToObject(json_reg_user, "code", t_account.code);
143143
cJSON_AddStringToObject(json_reg_user, "password", t_account.password);
144-
cJSON_AddStringToObject(json_reg_user, "password", t_account.password);
144+
cJSON_AddNumberToObject(json_reg_user, "team", t_account.team);
145145
cJSON_AddItemToObject(json, "register_user", json_reg_user);
146146
char *json_string = cJSON_PrintUnformatted(json);
147147
printf("%s\n", json_string);

0 commit comments

Comments
 (0)