|
|
|
@ -282,8 +282,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
OWSAssertDebug(authUsername.length > 0);
|
|
|
|
|
OWSAssertDebug(authPassword.length > 0);
|
|
|
|
|
|
|
|
|
|
NSString *path =
|
|
|
|
|
[NSString stringWithFormat:@"https://api.contact-discovery.acton-signal.org/v1/attestation/%@", enclaveId];
|
|
|
|
|
NSString *path = [NSString stringWithFormat:@"%@/v1/attestation/%@", contactDiscoveryURL, enclaveId];
|
|
|
|
|
TSRequest *request = [TSRequest requestWithUrl:[NSURL URLWithString:path]
|
|
|
|
|
method:@"PUT"
|
|
|
|
|
parameters:@{
|
|
|
|
@ -306,8 +305,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
authPassword:(NSString *)authPassword
|
|
|
|
|
cookies:(NSArray<NSHTTPCookie *> *)cookies
|
|
|
|
|
{
|
|
|
|
|
NSString *path =
|
|
|
|
|
[NSString stringWithFormat:@"https://api.contact-discovery.acton-signal.org/v1/discovery/%@", enclaveId];
|
|
|
|
|
NSString *path = [NSString stringWithFormat:@"%@/v1/discovery/%@", contactDiscoveryURL, enclaveId];
|
|
|
|
|
|
|
|
|
|
TSRequest *request = [TSRequest requestWithUrl:[NSURL URLWithString:path]
|
|
|
|
|
method:@"PUT"
|
|
|
|
|