Page MenuHomePhorge

Fix process response without json body for GetVersionsAction
ClosedPublic

Authored by nannanko on Mar 18 2026, 7:31 AM.

Details

Summary

Kazv::processResponse(ClientModel m, GetVersionsResponse r) cannot process response without json body, this diff fixed it.

Type: fix

Test Plan

Verify unit tests pass.

Diff Detail

Repository
rL libkazv
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tusooa published this revision for review.Mar 18 2026, 7:37 AM
tusooa added inline comments.
src/client/actions/auth.cpp
179–181

You don't need to create a new lambda for this. failWithResponse(r) already meets the requirement of an effect.

tusooa requested changes to this revision.Mar 18 2026, 7:37 AM
This revision now requires changes to proceed.Mar 18 2026, 7:37 AM

Use failWithResponse(r) instead of lambda

the test failure is not the fault of this diff. the coverage job did pass, the failing is because of lilybuild.

This revision is now accepted and ready to land.Mar 19 2026, 8:00 PM
This revision was landed with ongoing or failed builds.Mar 21 2026, 6:57 AM
This revision was automatically updated to reflect the committed changes.