Add missing retry

pull/148/head
gmbnt 6 years ago
parent b6f51003c8
commit e2bc7fb4d8

@ -206,7 +206,7 @@ public final class LokiAPI : NSObject {
print("[Loki] Failed to update proof of work difficulty from: \(rawResponse).") print("[Loki] Failed to update proof of work difficulty from: \(rawResponse).")
} }
return rawResponse return rawResponse
} }.retryingIfNeeded(maxRetryCount: maxRetryCount)
}) })
}.retryingIfNeeded(maxRetryCount: maxRetryCount) }.retryingIfNeeded(maxRetryCount: maxRetryCount)
} }

Loading…
Cancel
Save