channel-app 0.0.149__py3-none-any.whl → 0.0.151__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -107,8 +107,8 @@ class ChannelCommandInterface(CommandInterface):
107
107
  return
108
108
  name = self.__class__.__name__
109
109
  if isinstance(response, Response):
110
- raw_request = f"{response.request.method}-"
111
- f"{response.request.url}-"
110
+ raw_request = f"{response.request.method} - " \
111
+ f"{response.request.url} - " \
112
112
  f"{response.request.body}"
113
113
  raw_response = response.text
114
114
  else:
@@ -56,7 +56,7 @@ class GetOrCreateCustomer(OmnitronCommandInterface):
56
56
  new_customer.last_name = data.last_name
57
57
  if must_update:
58
58
  customer = self.endpoint(channel_id=self.integration.channel_id).update(
59
- id=customer.pk, item=customer)
59
+ id=customer.pk, item=new_customer)
60
60
  else:
61
61
  new_customer = Customer()
62
62
  new_customer.channel = self.integration.channel_id
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: channel_app
3
- Version: 0.0.149
3
+ Version: 0.0.151
4
4
  Summary: Channel app for Sales Channels
5
5
  Home-page: https://github.com/akinon/channel_app
6
6
  Author: akinonteam
@@ -25,7 +25,7 @@ channel_app/channel/commands/orders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQ
25
25
  channel_app/channel/commands/orders/orders.py,sha256=edBCmp0BBg5qNhduWnB7p2yAf0pVFEZ5uef2EvVDUl0,15837
26
26
  channel_app/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  channel_app/core/clients.py,sha256=o8OBkXwof8BobEyiiHPwmGsUcOlPb60u3oUeAUxo_hc,1591
28
- channel_app/core/commands.py,sha256=gGSsjHJmMTkj6OuzhUsbVMQCGGiumwnSzM1T9mqHiss,14316
28
+ channel_app/core/commands.py,sha256=wM0ZlH_GHaYLKy2SWab_aKuZCsSahUuHeBa_tqi3W4A,14324
29
29
  channel_app/core/data.py,sha256=xiNQh_r_F3RXSO6jncHNEVLPO9sDVm_3A-MMOwdh6n8,6910
30
30
  channel_app/core/integration.py,sha256=OqpN8B3KBLsjjrbZXZaNVF6NtObejh7P_7kGFj1xU3o,2817
31
31
  channel_app/core/products.py,sha256=uInjFw-vze1XP8vWEeq4VWDZVQQIiatoe1YsQ6n_H5E,2092
@@ -50,7 +50,7 @@ channel_app/omnitron/commands/setup.py,sha256=dcbvvIFDKKeDVziwR2qWJhVd92IlVLEoYI
50
50
  channel_app/omnitron/commands/orders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
51
  channel_app/omnitron/commands/orders/addresses.py,sha256=2wjYOyAv5TSZ6c7TUl2SWSFCYg5Vmihimj1Iz4Ybm_U,12566
52
52
  channel_app/omnitron/commands/orders/cargo_companies.py,sha256=Q5RKIbP8cNLRa82GA7TyjrKZ2gIDWXscMTQTSJOvwGE,1386
53
- channel_app/omnitron/commands/orders/customers.py,sha256=bBE5o3KFyReaMQm4dTrcZm7u0FEq3u-_YpVt5ru3_B8,3446
53
+ channel_app/omnitron/commands/orders/customers.py,sha256=1IbzZsQSIcroJagsinKy__q3vEU8kZj3LxNhxb-mWQ0,3450
54
54
  channel_app/omnitron/commands/orders/orders.py,sha256=U_DwYsPzWo_MfFc1QUZhcLfKhg_bjoSGzpYutOFKFhs,27697
55
55
  channel_app/omnitron/commands/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  channel_app/omnitron/commands/tests/test_orders.py,sha256=acndyE5vpWUYdIaAsa2TlJxxmtUNRKE0IDP7DJRMgTo,20451
@@ -58,7 +58,7 @@ channel_app/omnitron/commands/tests/test_product_images.py,sha256=y6tmiJ00kd2GTq
58
58
  channel_app/omnitron/commands/tests/test_product_prices.py,sha256=5HPX9PmjGw6gk3oNrwtWLqdrOkfeNx1mYP-pYwOesZU,3496
59
59
  channel_app/omnitron/commands/tests/test_product_stocks.py,sha256=q4RGlrCNUUJyN5CBL1fzrvdd4Q3xt816mbMRQT0XEd0,3496
60
60
  channel_app/omnitron/commands/tests/test_products.py,sha256=DUUdB7pKe-wj8H1N-otKhR-97z37Q3Mh0QgROlnrKTQ,102028
61
- channel_app-0.0.149.dist-info/METADATA,sha256=jhldGQ56anLZ672hZLOZEA1QD_x9JYQqoSy0vDRV7dc,309
62
- channel_app-0.0.149.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
63
- channel_app-0.0.149.dist-info/top_level.txt,sha256=JT-gM6L5Cwxr1xEoN7NHrREDs-d6iGFGfRnK-NrJ3tU,12
64
- channel_app-0.0.149.dist-info/RECORD,,
61
+ channel_app-0.0.151.dist-info/METADATA,sha256=IbdSbwYvDAauMmj_nsR0hwLA9cjIAyHbUSF6T25LZxY,309
62
+ channel_app-0.0.151.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
63
+ channel_app-0.0.151.dist-info/top_level.txt,sha256=JT-gM6L5Cwxr1xEoN7NHrREDs-d6iGFGfRnK-NrJ3tU,12
64
+ channel_app-0.0.151.dist-info/RECORD,,