@vasrefil/api-toolkit 1.0.46 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,6 +96,7 @@ class AdminAuthMidWare_ extends _root_service_1.RootService {
96
96
  req.headers['x-service-name'] = env_1.default.SERVICE_NAME;
97
97
  const headers = {
98
98
  Authorization: req.headers.authorization,
99
+ 'x-service-name': env_1.default.SERVICE_NAME,
99
100
  };
100
101
  const { data } = await axios_1.default.get(`${baseurl}/admin-users/details`, { headers });
101
102
  return { admin_user: data.data.user };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vasrefil/api-toolkit",
3
3
  "description": "This is Vasrefil API toolkit",
4
- "version": "1.0.46",
4
+ "version": "1.0.47",
5
5
  "author": "Sodiq Alabi",
6
6
  "main": "dist/public-api.js",
7
7
  "types": "dist/public-api.d.ts",