Skip to content

Commit

Permalink
πŸ“ˆ (AccountKit): Log carereceiver_edit Event in Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
macteuts committed Nov 28, 2024
1 parent 3e4d9b9 commit 37e18ac
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ public class CarereceiverManager {
if case let .failure(error) = completion {
self.fetchError.send(error)
}
}, receiveValue: { _ in
// Nothing to do
}, receiveValue: { [weak self] updatedCarereceiver in
guard let self else { return }

Check warning on line 62 in Modules/AccountKit/Sources/Managers/Carereceivers/CarereceiverManager.swift

View workflow job for this annotation

GitHub Actions / build (true)

value 'self' was defined but never used; consider replacing with boolean test

Check warning on line 62 in Modules/AccountKit/Sources/Managers/Carereceivers/CarereceiverManager.swift

View workflow job for this annotation

GitHub Actions / build (false)

value 'self' was defined but never used; consider replacing with boolean test
AnalyticsManager.logEventCarereceiverEdit(carereceivers: updatedCarereceiver.id!)
log.info("Carereceiver \(updatedCarereceiver.id!) successfully updated.")
})
.store(in: &self.cancellables)
}
Expand Down

0 comments on commit 37e18ac

Please sign in to comment.