Tigran 3 vuotta sitten
vanhempi
commit
1315871fbd
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      CardCollector/Resources/Keyboard.cs

+ 2 - 2
CardCollector/Resources/Keyboard.cs

@@ -242,11 +242,11 @@ namespace CardCollector.Resources
             {
                 var author = await PacksDao.GetById(item.PackId);
                 if (i % 2 == 0) keyboardList.Add(new [] {
-                    InlineKeyboardButton.WithCallbackData($"{author.Author} {item.Count}", $"{Command.open_pack}={item.Id}")
+                    InlineKeyboardButton.WithCallbackData($"{author.Author} {item.Count}", $"{Command.open_pack}={item.PackId}")
                 });
                 else keyboardList[keyboardList.Count - 1] = new [] {
                     keyboardList[keyboardList.Count - 1][0],
-                    InlineKeyboardButton.WithCallbackData($"{author.Author} {item.Count}", $"{Command.open_pack}={item.Id}")
+                    InlineKeyboardButton.WithCallbackData($"{author.Author} {item.Count}", $"{Command.open_pack}={item.PackId}")
                 };
             }
             keyboardList.Add(new[] {