Skip to content

Commit d21311d

Browse files
committed
PROD-871 rename Customer API -> Server API
1 parent 31f0021 commit d21311d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pusher/notification_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
DEFAULT_HOST = "nativepushclient-cluster1.pusher.com"
66
RESTRICTED_GCM_KEYS = ['to', 'registration_ids']
7-
API_PREFIX = 'customer_api'
7+
API_PREFIX = 'server_api'
88
API_VERSION = 'v1'
99
GCM_TTL = 241920
1010
WEBHOOK_LEVELS = ['INFO', 'DEBUG', '']

pusher_tests/test_notification_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_notify_success_case(self):
2727
request = self.client.notify.make_request(['yolo'], self.success_fixture)
2828
self.assertEqual(request.method, u'POST')
2929
self.assertEqual(request.base_url, u'https://nativepushclient-cluster1.pusher.com:443')
30-
self.assertEqual(request.path, '/customer_api/v1/apps/4/notifications')
30+
self.assertEqual(request.path, '/server_api/v1/apps/4/notifications')
3131
self.assertEqual(request.params, {
3232
'interests': ['yolo'],
3333
'webhook_url': 'http://webhook.com',

0 commit comments

Comments
 (0)