nlbone 0.7.16__py3-none-any.whl → 0.7.18__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.
@@ -75,8 +75,8 @@ class AuthenticationMiddleware(BaseHTTPMiddleware):
75
75
  request.state.client_id = None
76
76
  request.state.user_id = None
77
77
  request.state.token = None
78
- if request.headers.get('X-Client-Id') and request.headers.get("X-Api_Key"):
79
- if request.headers.get("X-Api_Key") == get_settings().PRICING_API_SECRET:
78
+ if request.headers.get('X-Client-Id') and request.headers.get("X-Api-Key"):
79
+ if request.headers.get("X-Api-Key") == get_settings().PRICING_API_SECRET:
80
80
  request.state.client_id = request.headers.get("X-Client-Id")
81
81
  return await call_next(request)
82
82
  if request.headers.get('X-Client-Id') == 'website' and request.headers.get("Authorization"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nlbone
3
- Version: 0.7.16
3
+ Version: 0.7.18
4
4
  Summary: Backbone package for interfaces and infrastructure in Python projects
5
5
  Author-email: Amir Hosein Kahkbazzadeh <a.khakbazzadeh@gmail.com>
6
6
  License: MIT
@@ -84,7 +84,7 @@ nlbone/interfaces/api/dependencies/uow.py,sha256=QfLEvLYLNWZJQN1k-0q0hBVtUld3D75
84
84
  nlbone/interfaces/api/middleware/__init__.py,sha256=zbX2vaEAfxRMIYwO2MVY_2O6bqG5H9o7HqGpX14U3Is,158
85
85
  nlbone/interfaces/api/middleware/access_log.py,sha256=vIkxxxfy2HcjqqKb8XCfGCcSrivAC8u6ie75FMq5x-U,1032
86
86
  nlbone/interfaces/api/middleware/add_request_context.py,sha256=av-qs0biOYuF9R6RJOo2eYsFqDL9WRYWcjVakFhbt-w,1834
87
- nlbone/interfaces/api/middleware/authentication.py,sha256=lSTxhRrbj3WK776uBYou9gxQZj2dWskzsJTFWePtiQc,3112
87
+ nlbone/interfaces/api/middleware/authentication.py,sha256=Kp-bnLu3j8bSR2usigi7jM_5grdupeuAm_GLBeZWY48,3112
88
88
  nlbone/interfaces/api/pagination/__init__.py,sha256=pA1uC4rK6eqDI5IkLVxmgO2B6lExnOm8Pje2-hifJZw,431
89
89
  nlbone/interfaces/api/pagination/offset_base.py,sha256=AwuHLQELAKut58fQSL2hk-QhfwsG1coJWz-Jkh2gnmg,4113
90
90
  nlbone/interfaces/api/schema/__init__.py,sha256=LAqgynfupeqOQ6u0I5ucrcYnojRMZUg9yW8IjKSQTNI,119
@@ -108,8 +108,8 @@ nlbone/utils/http.py,sha256=MPDEyaC16AKsL0YH6sWCPp8NC2TgzEHpWERYK5HcaYQ,1001
108
108
  nlbone/utils/normalize_mobile.py,sha256=sGH4tV9gX-6eVKozviNWJhm1DN1J28Nj-ERldCYkS_E,732
109
109
  nlbone/utils/redactor.py,sha256=-V4HrHmHwPi3Kez587Ek1uJlgK35qGSrwBOvcbw8Jas,1279
110
110
  nlbone/utils/time.py,sha256=DjjyQ9GLsfXoT6NK8RDW2rOlJg3e6sF04Jw6PBUrSvg,1268
111
- nlbone-0.7.16.dist-info/METADATA,sha256=nI-Pv5HnUjZhrgj0UpnnRQEe6oj8yG59STiPRYrs1UA,2295
112
- nlbone-0.7.16.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
113
- nlbone-0.7.16.dist-info/entry_points.txt,sha256=CpIL45t5nbhl1dGQPhfIIDfqqak3teK0SxPGBBr7YCk,59
114
- nlbone-0.7.16.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
- nlbone-0.7.16.dist-info/RECORD,,
111
+ nlbone-0.7.18.dist-info/METADATA,sha256=-H7daItdYK-bK12_qf6TWGOSJIXJQvGMkrKxH-5bQzI,2295
112
+ nlbone-0.7.18.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
113
+ nlbone-0.7.18.dist-info/entry_points.txt,sha256=CpIL45t5nbhl1dGQPhfIIDfqqak3teK0SxPGBBr7YCk,59
114
+ nlbone-0.7.18.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
+ nlbone-0.7.18.dist-info/RECORD,,