diff options
Diffstat (limited to 'src/lib/models/Guild.ts')
-rw-r--r-- | src/lib/models/Guild.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/models/Guild.ts b/src/lib/models/Guild.ts index 4640d70..41ded9d 100644 --- a/src/lib/models/Guild.ts +++ b/src/lib/models/Guild.ts @@ -285,10 +285,10 @@ export class Guild extends BaseModel<GuildModel, GuildModelCreationAttributes> i joinRoles: { type: DataTypes.TEXT, get: function () { - return JSON.parse(this.getDataValue('enabledFeatures') as unknown as string); + return JSON.parse(this.getDataValue('joinRoles') as unknown as string); }, set: function (val: string[]) { - return this.setDataValue('enabledFeatures', JSON.stringify(val) as unknown as string[]); + return this.setDataValue('joinRoles', JSON.stringify(val) as unknown as string[]); }, allowNull: false, defaultValue: '[]' |