Fixed user image sharpness

This commit is contained in:
Benoit Schweblin 2018-03-24 17:04:15 +00:00
parent d604501974
commit d133fc5c28

View File

@ -189,7 +189,7 @@ export default {
store.commit('userInfo/addItem', {
id: res.body.id,
name: res.body.displayName,
imageUrl: res.body.image.url,
imageUrl: (res.body.image.url || '').replace(/\bsz?=\d+$/, 'sz=40'),
});
return res.body;
});