internal error by updating sharing contents

https://github.com/imeji-community/imeji/issues/948