Closed sho0126hiro closed 5 years ago
yryrにresponseにstatusCodeを追加してもらう
.then((response)=>{
const status = response.status;
const responseJson = response.json();
const ret = {"status":status,"res":responseJson};
return ret;
}).then((ret)=>ret);
これでresponseにstatusCodeを付与できたので追加しなくてOKです
71