mirror of https://github.com/shred/acme4j
Do not remove location data from Registration on modify
parent
26c81e3890
commit
2898642ebf
|
@ -153,7 +153,10 @@ public abstract class AbstractAcmeClient implements AcmeClient {
|
||||||
conn.throwAcmeException();
|
conn.throwAcmeException();
|
||||||
}
|
}
|
||||||
|
|
||||||
registration.setLocation(conn.getLocation());
|
URI location = conn.getLocation();
|
||||||
|
if (location != null) {
|
||||||
|
registration.setLocation(conn.getLocation());
|
||||||
|
}
|
||||||
|
|
||||||
URI tos = conn.getLink("terms-of-service");
|
URI tos = conn.getLink("terms-of-service");
|
||||||
if (tos != null) {
|
if (tos != null) {
|
||||||
|
|
Loading…
Reference in New Issue