aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/Guild.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-18 21:16:18 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-18 21:16:18 -0400
commit04dc104726fa1519480ba1889c1307ec3ad9be19 (patch)
treeca63ea2e06e90d1c9b218bc1254ff8802ecbd100 /src/lib/models/Guild.ts
parent91ee22fbb53f191167cac23437f9be17c1535795 (diff)
downloadtanzanite-04dc104726fa1519480ba1889c1307ec3ad9be19.tar.gz
tanzanite-04dc104726fa1519480ba1889c1307ec3ad9be19.tar.bz2
tanzanite-04dc104726fa1519480ba1889c1307ec3ad9be19.zip
fix some shit
Diffstat (limited to 'src/lib/models/Guild.ts')
-rw-r--r--src/lib/models/Guild.ts4
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: '{}'