@timum/timum_pdk 2.0.1 → 2.0.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timum/timum_pdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "license": "MIT",
5
5
  "description": "Contains timum public and general api endpoints",
6
6
  "homepage": "https://www.timum.de",
package/src/index.js CHANGED
@@ -107,10 +107,7 @@ export const timumApiSlice = createApi({
107
107
  query: (props) => {
108
108
  return {
109
109
  url: constructUrl(`/auth/cookieless/login`, props, true),
110
- headers: {
111
- "Content-Type": "application/x-www-form-urlencoded",
112
- ...props.headers,
113
- },
110
+ headers: props.headers,
114
111
  method: "post",
115
112
  body: props.body,
116
113
  };