Added registration info to TentClient when getting metadata

This commit is contained in:
moandji.ezana 2012-11-14 09:08:58 +02:00
parent 13527ece05
commit ca02af4ea1

View file

@ -151,6 +151,7 @@ public class WriteServlet extends HttpServlet {
TentClient tentClient = new TentClient(user.getProfile());
tentClient.getAsync().setAccessToken(user.getAccessToken());
tentClient.getAsync().setRegistrationResponse(user.getRegistration());
return tentClient;
}