@@ -61,7 +61,7 @@ public class Contentstack {
6161 * Client client = new Client.Builder().build();
6262 * User userInstance = client.user();
6363 * </pre>
64- * <p >
64+ * <br >
6565 *
6666 * @return User user
6767 */
@@ -100,7 +100,7 @@ public User user() {
100100 * Contentstack client = new Contentstack.Builder().build();
101101 * Response login = client.login("emailId", "password");
102102 * </pre>
103- * <p >
103+ * <br >
104104 *
105105 * @param emailId
106106 * the email id
@@ -147,7 +147,7 @@ public Response<LoginDetails> login(String emailId, String password) throws IOEx
147147 * Contentstack client = new Contentstack.Builder().build();
148148 * Response login = client.login("emailId", "password");
149149 * </pre>
150- * <p >
150+ * <br >
151151 *
152152 * @param emailId
153153 * the email id
@@ -244,7 +244,7 @@ Response<ResponseBody> logoutWithAuthtoken(String authtoken) throws IOException
244244 public Organization organization () {
245245 if (this .authtoken == null )
246246 throw new IllegalStateException ("Please Login to access user instance" );
247- return new Organization (this .instance );
247+ return new Organization (this .instance , this . authtoken );
248248 }
249249
250250 /**
@@ -396,9 +396,11 @@ public Builder() {
396396 /**
397397 * Sets proxy. (Setting proxy to the OkHttpClient) Proxy proxy = new Proxy(Proxy.Type.HTTP, new
398398 * InetSocketAddress(proxyHost, proxyPort));
399- * <p>
400- * Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("hostname", 433)); Contentstack contentstack =
401- * new Contentstack.Builder().setProxy(proxy).build();
399+ * <br>
400+ * <pre>
401+ * Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("hostname", 433));
402+ * Contentstack contentstack = new Contentstack.Builder().setProxy(proxy).build();
403+ * </pre>
402404 *
403405 * @param proxy
404406 * the proxy
0 commit comments