lint: fix

This commit is contained in:
March 7th 2022-10-12 19:50:56 +07:00
parent 3c2b4c9364
commit 7c07a80d83
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -139,7 +139,7 @@ class ClientSettingManager extends BaseManager {
* @private * @private
* @param {Object} data Raw Data to patch * @param {Object} data Raw Data to patch
*/ */
_patch(data) { _patch(data = {}) {
this.rawSetting = Object.assign(this.rawSetting, data); this.rawSetting = Object.assign(this.rawSetting, data);
if ('locale' in data) { if ('locale' in data) {
this.locale = localeSetting[data.locale]; this.locale = localeSetting[data.locale];