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 9b283ab..f59bed1 100644 --- a/src/lib/models/Guild.ts +++ b/src/lib/models/Guild.ts @@ -355,10 +355,10 @@ export class Guild extends BaseModel<GuildModel, GuildModelCreationAttributes> i logChannels: { type: DataTypes.TEXT, get: function (): LogChannelDB { - return jsonParseGet('logChannels', this); + return jsonParseGet.call(this, 'logChannels'); }, set: function (val: LogChannelDB) { - return jsonParseSet('logChannels', this, val); + return jsonParseSet.call(this, 'logChannels', val); }, allowNull: false, defaultValue: '{}' |