Skip to content

Commit

Permalink
refactor(Menu): correct the name to the updated one
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenonEl committed Jan 8, 2025
1 parent 13c450b commit 0e0e394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TelegramBot/Menu/Contacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static async Task EditContactGroup(ITelegramBotClient botClient, Update u
TelegramBot.userStates[chatId] = new ProcessContactGroupState();

int userId = DBforGetters.GetUserIDbyTelegramID(chatId);
List<string> groupInfos = UsersGroup.GetUserGroupByUserId(userId);
List<string> groupInfos = UsersGroup.GetUserGroupInfoByUserId(userId);

string messageText = groupInfos.Any()
? $"{Config.GetResourceString("YourGroupsText")}\n{string.Join("\n", groupInfos)}"
Expand Down

0 comments on commit 0e0e394

Please sign in to comment.