HomeSoftware Heritage

vault: Fix vault response schema

Description

vault: Fix vault response schema

Names got changed in the vault api backend. Unfortunately, this passed
undetected both by the vault and the webapp tests.

Furthermore, as the try catch within the js layer is silent, this fails
silently.

This commit fixes the situation by mapping from the new names to the old names.
This keeps the the api behavior consistent.

Details

Provenance
ardumontAuthored on Nov 19 2020, 2:23 PM
ardumontPushed on Nov 19 2020, 4:07 PM
Differential Revision
D4521: vault: Fix vault response schema
Parents
rDWAPPS660ef62fd64b: assets: Migrate compilation to webpack 5.x
Branches
Unknown
Tags
Unknown
Build Status
Buildable 17269
Build 26667: test-and-buildJenkins console · Jenkins