eleven-solutions-common-website-unique-web 5.0.0 → 5.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -136,7 +136,7 @@ export const isMultipleApi = (type) => __awaiter(void 0, void 0, void 0, functio
136
136
  export const addSubTypeApi = (parentid, type, code, value) => __awaiter(void 0, void 0, void 0, function* () {
137
137
  const token = cookies.get("token");
138
138
  try {
139
- const response = yield axios.post(`${apiUrl}/taxonomy/add`, {
139
+ const response = yield axios.post(`${apiUrl}/taxonomy/addsubtype`, {
140
140
  ParentId: parentid,
141
141
  Type: type,
142
142
  Code: code,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -175,7 +175,7 @@ export const addSubTypeApi = async (
175
175
 
176
176
  try {
177
177
  const response = await axios.post(
178
- `${apiUrl}/taxonomy/add`,
178
+ `${apiUrl}/taxonomy/addsubtype`,
179
179
  {
180
180
  ParentId: parentid,
181
181
  Type: type,