Resolve video upload issues.

This commit is contained in:
Patrick Fic
2022-05-14 11:25:44 -07:00
parent e7a76a281f
commit 2ad694ceda
5 changed files with 27 additions and 17 deletions

View File

@@ -109,7 +109,12 @@ export function* signInSuccessSaga({ payload }) {
const shop = yield client.query({ query: QUERY_BODYSHOP });
logImEXEvent("imexmobile_sign_in_success", payload);
yield put(setBodyshop(shop.data.bodyshops[0]));
yield put(
setBodyshop({
...shop.data.bodyshops[0],
localmediaserverhttp: `http://192.168.1.235:8000`,
})
);
} catch (error) {
console.log("UH-OH. Couldn't get shop details.", error);
}