| @@ -1049,7 +1049,7 @@ router.post('/edit', validateAvatarUrlMiddleware, async function (request, respo | |||
| 1049 | return response.sendStatus(200); | 1049 | return response.sendStatus(200); |
| 1050 | } | 1050 | } |
| 1051 | catch { | 1051 | catch { |
| 1052 | console.error('An error occured, character edit invalidated.'); | 1052 | console.error('An error occurred, character edit invalidated.'); |
| 1053 | } | 1053 | } |
| 1054 | }); | 1054 | }); |
| 1055 | 1055 | ||
| @@ -1095,7 +1095,7 @@ router.post('/edit-attribute', validateAvatarUrlMiddleware, async function (requ | |||
| 1095 | await writeCharacterData(avatarPath, newCharJSON, targetFile, request); | 1095 | await writeCharacterData(avatarPath, newCharJSON, targetFile, request); |
| 1096 | return response.sendStatus(200); | 1096 | return response.sendStatus(200); |
| 1097 | } catch (err) { | 1097 | } catch (err) { |
| 1098 | console.error('An error occured, character edit invalidated.', err); | 1098 | console.error('An error occurred, character edit invalidated.', err); |
| 1099 | } | 1099 | } |
| 1100 | }); | 1100 | }); |
| 1101 | 1101 | ||