django-restit 4.2.94__py3-none-any.whl → 4.2.96__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.
account/fcm/v1.py CHANGED
@@ -2,6 +2,7 @@ import json
2
2
  import time
3
3
  import jwt # PyJWT library
4
4
  import requests
5
+ from objict import objict
5
6
 
6
7
 
7
8
  def create_jwt(service_account_info):
@@ -101,5 +102,4 @@ class FirebaseNotifier:
101
102
  if data:
102
103
  message["data"] = data
103
104
  payload = dict(message=message)
104
- response = requests.post(self.fcm_url, headers=headers, data=json.dumps(payload))
105
- return response.json()
105
+ return requests.post(self.fcm_url, headers=headers, data=json.dumps(payload))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: django-restit
3
- Version: 4.2.94
3
+ Version: 4.2.96
4
4
  Summary: A Rest Framework for DJANGO
5
5
  License: MIT
6
6
  Author: Ian Starnes
@@ -2,7 +2,7 @@ account/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  account/admin.py,sha256=8MQ1gAgjpPUC_SGCVMwd7I8fqLetqcutLiasjssEPRY,1839
3
3
  account/fcm/__init__.py,sha256=lXuz5z0bL5TXqVdaXxiVr-4zF_Q1IZ8kPEkuYGb5eB0,17
4
4
  account/fcm/legacy.py,sha256=5WM5HAnjVPweT0oe3rBN9tBGHfC-DPa-e9luH3baT8Y,959
5
- account/fcm/v1.py,sha256=Z4hTmx1BIcmuVtW52QMmqHtQO5-yHMRCNy9GLAsy32Y,3610
5
+ account/fcm/v1.py,sha256=dMCHvDRgTrkkrfFocxuVvBo7sAzqonOO1IqVYp2B7Jk,3601
6
6
  account/migrations/0001_initial.py,sha256=PhYNDTiwjyUplErBmYc34ecynLIEJL2JuC02o8GCXes,15894
7
7
  account/migrations/0003_member_phone_number.py,sha256=auAJCfxsK-y3Veo0vwZfrIZxvwHYBjg5CpYRgCWghCQ,738
8
8
  account/migrations/0004_group_modified_alter_group_created.py,sha256=20iNFlUGtRCWUsxEqTJFRQKQ73z4REhfo-hGam8IHXY,551
@@ -507,7 +507,7 @@ ws4redis/servers/uwsgi.py,sha256=VyhoCI1DnVFqBiJYHoxqn5Idlf6uJPHvfBKgkjs34mo,172
507
507
  ws4redis/settings.py,sha256=K0yBiLUuY81iDM4Yr-k8hbvjn5VVHu5zQhmMK8Dtz0s,1536
508
508
  ws4redis/utf8validator.py,sha256=S0OlfjeGRP75aO6CzZsF4oTjRQAgR17OWE9rgZdMBZA,5122
509
509
  ws4redis/websocket.py,sha256=R0TUyPsoVRD7Y_oU7w2I6NL4fPwiz5Vl94-fUkZgLHA,14848
510
- django_restit-4.2.94.dist-info/LICENSE.md,sha256=VHN4hhEeVOoFjtG-5fVv4jesA4SWi0Z-KgOzzN6a1ps,1068
511
- django_restit-4.2.94.dist-info/METADATA,sha256=OF5R_SKbBZBXK-wIkgj6rH4kFxWfRPnNQmSIVEoncqw,7662
512
- django_restit-4.2.94.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
513
- django_restit-4.2.94.dist-info/RECORD,,
510
+ django_restit-4.2.96.dist-info/LICENSE.md,sha256=VHN4hhEeVOoFjtG-5fVv4jesA4SWi0Z-KgOzzN6a1ps,1068
511
+ django_restit-4.2.96.dist-info/METADATA,sha256=Tf_HtaQVVHk9bgzjqT1ImsVIvGgBjKdsr8TqN5OBnq0,7662
512
+ django_restit-4.2.96.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
513
+ django_restit-4.2.96.dist-info/RECORD,,