| Line 186... |
Line 186... |
| 186 |
@ApiImplicitParams({
|
186 |
@ApiImplicitParams({
|
| 187 |
@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header") })
|
187 |
@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header") })
|
| 188 |
public ResponseEntity<?> getPartners(HttpServletRequest request, @RequestParam(name = "gmailId") String gmailId)
|
188 |
public ResponseEntity<?> getPartners(HttpServletRequest request, @RequestParam(name = "gmailId") String gmailId)
|
| 189 |
throws ProfitMandiBusinessException {
|
189 |
throws ProfitMandiBusinessException {
|
| 190 |
|
190 |
|
| 191 |
AuthUser authUser = authRepository.selectByGmailId("gmailId");
|
191 |
AuthUser authUser = authRepository.selectByGmailId(gmailId);
|
| 192 |
|
192 |
|
| 193 |
Map<String, Set<String>> storeGuyMap = csService.getAuthUserPartnerEmailMapping();
|
193 |
Map<String, Set<String>> storeGuyMap = csService.getAuthUserPartnerEmailMapping();
|
| 194 |
|
194 |
|
| 195 |
Set<String> emails = storeGuyMap.get(authUser.getEmailId());
|
195 |
Set<String> emails = storeGuyMap.get(authUser.getEmailId());
|
| 196 |
LOGGER.info("emails" + emails);
|
196 |
LOGGER.info("emails" + emails);
|