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)