Skip to content

Commit

Permalink
Proxy implements addNote protocol correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
killergerbah committed Mar 6, 2024
1 parent 921a912 commit 54479ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/anki-connect-proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (forwarder forwarder) handlePostRequest(c echo.Context) error {
return forwarder.forwardToAnkiConnect(buf, c)
}

c.JSON(http.StatusOK, "{\"result\":null,\"error\":null}")
c.JSON(http.StatusOK, -1)
}

return nil
Expand Down

0 comments on commit 54479ae

Please sign in to comment.