Page MenuHomePhorge

Fix process response without json body for GetVersionsAction
Needs ReviewPublic

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

Details

Reviewers
tusooa
Group Reviewers
O1: the Kazv Project
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
Branch
nannanko/get-version-process-response
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 569
Build 1120: Invoke BuildbotBuildbot build #1381
Build 1119: arc lint + arc unit

Event Timeline

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

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.Wed, Mar 18, 7:37 AM
This revision now requires changes to proceed.Wed, Mar 18, 7:37 AM

Use failWithResponse(r) instead of lambda