Skip to content

Commit 87f3d0c

Browse files
authored
Fix webpush API (#777)
1 parent a932467 commit 87f3d0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

push_notifications/api/rest_framework.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ class WNSDeviceAuthorizedViewSet(AuthorizedMixin, WNSDeviceViewSet):
207207
class WebPushDeviceViewSet(DeviceViewSetMixin, ModelViewSet):
208208
queryset = WebPushDevice.objects.all()
209209
serializer_class = WebPushDeviceSerializer
210+
lookup_value_regex = '.+'
210211

211212

212213
class WebPushDeviceAuthorizedViewSet(AuthorizedMixin, WebPushDeviceViewSet):

0 commit comments

Comments
 (0)