Skip to content

Commit 1f816d9

Browse files
committed
Remove unnecessary chat ID when saving shipping query to DB.
1 parent 2acfa37 commit 1f816d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DB.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,9 +745,9 @@ public static function insertShippingQueryRequest(ShippingQuery $shipping_query)
745745
try {
746746
$sth = self::$pdo->prepare('
747747
INSERT IGNORE INTO `' . TB_SHIPPING_QUERY . '`
748-
(`id`, `user_id`, `chat_id`, `invoice_payload`, `shipping_address`, `created_at`)
748+
(`id`, `user_id`, `invoice_payload`, `shipping_address`, `created_at`)
749749
VALUES
750-
(:id, :user_id, :chat_id, :invoice_payload, :shipping_address, :created_at)
750+
(:id, :user_id, :invoice_payload, :shipping_address, :created_at)
751751
');
752752

753753
$date = self::getTimestamp();

0 commit comments

Comments
 (0)