diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-04 11:25:10 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-04 11:25:10 +0200 |
commit | e7e3f6ef080e5b14e44a7ed8379e7bcda6ad2272 (patch) | |
tree | 9a0baa553446a5d6bce4f31304a4ae46d50c7941 /util/src | |
parent | :bug: fix permissions if user is only member of guild (diff) | |
download | server-e7e3f6ef080e5b14e44a7ed8379e7bcda6ad2272.tar.xz |
:bug: fix invites
Diffstat (limited to 'util/src')
-rw-r--r-- | util/src/entities/Invite.ts | 2 |
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() |