summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-04 11:25:10 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-04 11:25:10 +0200
commit4de2140058f72efdabd4496cf7bd727960b2ed90 (patch)
tree0574a4d02fb04e85efc42ca72652c244e3ca222a /util
parent:bug: fix permissions if user is only member of guild (diff)
downloadserver-4de2140058f72efdabd4496cf7bd727960b2ed90.tar.xz
:bug: fix invites
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/Invite.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/src/entities/Invite.ts b/util/src/entities/Invite.ts
index 01e22294..afad9c02 100644
--- a/util/src/entities/Invite.ts
+++ b/util/src/entities/Invite.ts
@@ -4,6 +4,8 @@ import { Channel } from "./Channel";
 import { Guild } from "./Guild";
 import { User } from "./User";
 
+export const PublicInviteRelation = ["inviter", "guild", "channel"];
+
 @Entity("invites")
 export class Invite extends BaseClass {
 	@PrimaryColumn()