summary refs log tree commit diff
path: root/util/src/entities
diff options
context:
space:
mode:
Diffstat (limited to 'util/src/entities')
-rw-r--r--util/src/entities/Webhook.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/src/entities/Webhook.ts b/util/src/entities/Webhook.ts
index 12ba0d08..d0d98804 100644
--- a/util/src/entities/Webhook.ts
+++ b/util/src/entities/Webhook.ts
@@ -18,13 +18,13 @@ export class Webhook extends BaseClass {
 	@Column({ type: "simple-enum", enum: WebhookType })
 	type: WebhookType;
 
-	@Column({ nullable: true })
-	name?: string;
+	@Column()
+	name: string;
 
 	@Column({ nullable: true })
 	avatar?: string;
 
-	@Column({ nullable: true })
+	@Column({ nullable: true, select: false })
 	token?: string;
 
 	@Column({ nullable: true })