feat(disqus): add disqus integration

This commit is contained in:
Rıdvan Akca
2023-12-12 14:12:43 +03:00
parent 953c5a5b5b
commit 798529007e
13 changed files with 239 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
import { URLSearchParams } from 'url';
const addAuthHeader = ($, requestConfig) => {
const params = new URLSearchParams({
access_token: $.auth.data.accessToken,
api_key: $.auth.data.apiKey,
api_secret: $.auth.data.apiSecret,
});
requestConfig.params = params;
return requestConfig;
};
export default addAuthHeader;