Fixed proxying through the firefox extension

This commit is contained in:
Andrew Bastin
2020-01-19 15:24:17 -05:00
parent 8b970ed9a0
commit 8ae5dbc375

View File

@@ -6,7 +6,7 @@ const firefoxWithProxy = (req, { state }) =>
if (event.detail.error) {
reject(JSON.parse(event.detail.error));
} else {
resolve(JSON.parse(event.detail.response));
resolve(JSON.parse(event.detail.response).data);
}
};