Fix incorrect event type mapping for shipping query
This commit is contained in:
parent
f26f1c963f
commit
e7f89d7e0d
1 changed files with 2 additions and 2 deletions
|
@ -108,9 +108,9 @@
|
||||||
return UpdateEventType::PRE_CHECKOUT_QUERY;
|
return UpdateEventType::PRE_CHECKOUT_QUERY;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($update->getPreCheckoutQuery() !== null)
|
if($update->getShippingQuery() !== null)
|
||||||
{
|
{
|
||||||
return UpdateEventType::PRE_CHECKOUT_QUERY;
|
return UpdateEventType::SHIPPING_QUERY;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($update->getCallbackQuery() !== null)
|
if($update->getCallbackQuery() !== null)
|
||||||
|
|
Loading…
Add table
Reference in a new issue