Skip to content

Commit 67ea00d

Browse files
committed
Add a custom header to all requests for debugging excessive groups calls
1 parent 1116be7 commit 67ea00d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/api.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class Api {
8484
break;
8585
default:
8686
}
87+
headers['X-Client-Id'] = 'CommunityApp';
8788

8889
/* Throttling of API calls should not happen at server in production. */
8990
if (API_THROTTLING && (isomorphy.isClientSide() || isomorphy.isDevBuild())) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy