diff --git a/src/interfaces/Token.interface.ts b/src/interfaces/Token.interface.ts index e28f8a4..8ebbf91 100644 --- a/src/interfaces/Token.interface.ts +++ b/src/interfaces/Token.interface.ts @@ -4,7 +4,7 @@ import { type TokenTypeNames } from '../config/enums'; export interface IToken { token: string; user: Types.ObjectId; - community: Types.ObjectId; + community?: Types.ObjectId; type: TokenTypeNames; expires: Date; blacklisted?: boolean;