We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f656835 commit 8e0dc3eCopy full SHA for 8e0dc3e
WooCommerce/Classes/ViewRelated/Reviews/ReviewReplyViewModel.swift
@@ -62,7 +62,12 @@ final class ReviewReplyViewModel: ObservableObject {
62
self.performingNetworkRequest.send(false)
63
64
switch result {
65
- case .success:
+ case .success(let status):
66
+ // If the comment isn't approved, log it (to help support)
67
+ if status != .approved {
68
+ DDLogInfo("Reply to product review succeeded with comment status: \(status)")
69
+ }
70
+
71
self.displayReplySuccessNotice()
72
onCompletion(true)
73
case .failure(let error):
0 commit comments