user session data is updated when user info is edited

This commit is contained in:
Ro 2020-06-30 16:59:54 -07:00
parent df9ebc7706
commit 53da617ee4

View file

@ -29,6 +29,8 @@ export default class Settings {
result.folks[index].handle != payload.member.handle ||
result.folks[index].email != payload.member.email
) {
user.handle = payload.member.handle;
user.email = payload.member.email;
result.folks[index].handle = payload.member.handle;
result.folks[index].email = payload.member.email;
fs.writeJson('site/folks.json', result.folks);