muba-posting 4.1.6 → 4.1.7

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/Publish6.js +3 -1
  2. package/package.json +1 -1
package/Publish6.js CHANGED
@@ -9,7 +9,7 @@ import { createIconSetFromFontello } from 'react-native-vector-icons';
9
9
  import fontelloConfig from './fonts/config.json';
10
10
  const FontAwesomeIcon = createIconSetFromFontello(fontelloConfig);
11
11
 
12
- const GENERATE_TITLE_DESCRIPTION = { method: 'POST', url: '/controller/generate-title-description' };
12
+ const GENERATE_TITLE_DESCRIPTION = { method: 'GET', url: '/controller/generate-title-description' };
13
13
  const PHONE_REGISTERED = { method: 'GET', url: '/controller/phone-registered' };
14
14
  const window = Dimensions.get('window');
15
15
  const PHONE_SEPARATOR = '###';
@@ -76,6 +76,8 @@ export default class Publish6 extends React.Component {
76
76
  this.props.showLoading();
77
77
  const ad = { ...this.props.postingAd };
78
78
  delete ad.images;
79
+ delete ad.subCategoryDetails;
80
+ delete ad.languages;
79
81
  const responseJson = await this.props.request(this.props.context, GENERATE_TITLE_DESCRIPTION, ad);
80
82
 
81
83
  if (responseJson?.httpStatus === 200) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muba-posting",
3
- "version": "4.1.6",
3
+ "version": "4.1.7",
4
4
  "description": "Posting",
5
5
  "main": "Posting.js",
6
6
  "scripts": {