Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

Commit

Permalink
Should prevent invalid languages from being set
Browse files Browse the repository at this point in the history
although you will either have to patch your schema file or delete your bwd file
  • Loading branch information
bdistin committed Sep 30, 2017
1 parent 4b50f86 commit bb0a51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/settings/SettingsCache.js
Expand Up @@ -91,7 +91,7 @@ class SettingsCache {
sql: `TEXT NOT NULL DEFAULT '${this.client.config.prefix.constructor.name === 'Array' ? JSON.stringify(this.client.config.prefix) : this.client.config.prefix}'`
},
language: {
type: 'String',
type: 'Language',
default: this.client.config.language,
array: false,
sql: `TEXT NOT NULL DEFAULT '${this.client.config.language}'`
Expand Down

0 comments on commit bb0a51d

Please sign in to comment.