Commit f58062dd authored by Rucha Deshpande's avatar Rucha Deshpande
Browse files

fix x-user-id

parent 00cc8611
...@@ -112,7 +112,9 @@ public class AwsPubsubRequestBodyExtractor implements IPubsubRequestBodyExtracto ...@@ -112,7 +112,9 @@ public class AwsPubsubRequestBodyExtractor implements IPubsubRequestBodyExtracto
throw new AppException(HttpStatus.BAD_REQUEST.value(), INVALID_PUBSUB_MESSAGE, throw new AppException(HttpStatus.BAD_REQUEST.value(), INVALID_PUBSUB_MESSAGE,
"No tenant information from pubsub message."); "No tenant information from pubsub message.");
} }
lowerCase.put("x-user-id",attributes.get("x-user-id")); String x_user_id= request.getHeader("x-user-id");
System.out.println("*******x_user_id from original request****=="+x_user_id);
lowerCase.put("x-user-id",x_user_id);
content.setAttributes(lowerCase); content.setAttributes(lowerCase);
String decoded = new String(Base64.getDecoder().decode(data)); String decoded = new String(Base64.getDecoder().decode(data));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment