ankicommunity/anki-sync-server-rs

Logical error in sync.rs

Closed this issue · 1 comments

In sync.rs in function get_resp_data line 384, the some of the branches of the if cannot be reached (as we unwrap on the checked result before this if).

We must replace this condition with pattern matching.

I see no errors,reopen and make more detailed info if you wish.