Subversion Repositories SmartDukaan

Rev

Rev 22348 | Rev 22361 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22348 Rev 22357
Line 230... Line 230...
230
		params.put("categoryId", categoryId);
230
		params.put("categoryId", categoryId);
231
		params.put("direction", direction);
231
		params.put("direction", direction);
232
		params.put("sort", sort);
232
		params.put("sort", sort);
233
		params.put("source", "online");
233
		params.put("source", "online");
234
		params.put("filterData", filterData);
234
		params.put("filterData", filterData);
235
		if (userInfo.getRoleNames().contains(RoleType.FOFO.toString())) {
235
		/*if (userInfo.getRoleNames().contains(RoleType.FOFO.toString())) {
236
			params.put("tag_ids", getCommaSeparateTags(userId));
236
			params.put("tag_ids", getCommaSeparateTags(userId));
237
		}
237
		}*/
238
		List<Object> responseObject = new ArrayList<>();
238
		List<Object> responseObject = new ArrayList<>();
239
		try {
239
		try {
240
			response = rc.get(uri, params);
240
			response = rc.get(uri, params);
241
		} catch (Exception | ProfitMandiBusinessException e) {
241
		} catch (Exception | ProfitMandiBusinessException e) {
242
			logger.error("Unable to get deals", e);
242
			logger.error("Unable to get deals", e);