Subversion Repositories SmartDukaan

Rev

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

Rev 35257 Rev 35262
Line 163... Line 163...
163
    }
163
    }
164
 
164
 
165
    @RequestMapping(value = "/user/unregistered", method = RequestMethod.GET)
165
    @RequestMapping(value = "/user/unregistered", method = RequestMethod.GET)
166
    public ResponseEntity<?> unregisteredToken() throws Exception {
166
    public ResponseEntity<?> unregisteredToken() throws Exception {
167
        Map<String, Object> responseMap = new HashMap<>();
167
        Map<String, Object> responseMap = new HashMap<>();
168
        responseMap.put(ProfitMandiConstants.TOKEN, JWTUtil.create());
168
        //responseMap.put(ProfitMandiConstants.TOKEN, JWTUtil.create());
169
        responseMap.put(ProfitMandiConstants.REGISTERED, false);
169
        responseMap.put(ProfitMandiConstants.REGISTERED, false);
170
        return responseSender.ok(responseMap);
170
        return responseSender.ok(responseMap);
171
    }
171
    }
172
 
172
 
173
    @RequestMapping(value = ProfitMandiConstants.URL_B2B_APP_VERSION, method = RequestMethod.GET)
173
    @RequestMapping(value = ProfitMandiConstants.URL_B2B_APP_VERSION, method = RequestMethod.GET)