From 5d4fcab2c445046166368c1ad6de745dc9f023c7 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 13 Sep 2020 09:24:45 -0500 Subject: [PATCH] Removing auth from post and community join. --- src/interfaces.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/interfaces.ts b/src/interfaces.ts index 515abec..1385631 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -968,7 +968,6 @@ export interface UserJoinResponse { export interface PostJoinForm { post_id: number; - auth: string; } export interface PostJoinResponse { @@ -977,7 +976,6 @@ export interface PostJoinResponse { export interface CommunityJoinForm { community_id: number; - auth: string; } export interface CommunityJoinResponse { @@ -1032,7 +1030,9 @@ export type MessageType = | DeletePrivateMessageForm | MarkPrivateMessageAsReadForm | GetPrivateMessagesForm - | SiteConfigForm; + | SiteConfigForm + | PostJoinForm + | CommunityJoinForm; type ResponseType = | SiteResponse @@ -1057,7 +1057,9 @@ type ResponseType = | PrivateMessageResponse | PrivateMessagesResponse | GetSiteConfigResponse - | GetSiteResponse; + | GetSiteResponse + | PostJoinResponse + | CommunityJoinResponse; export interface WebSocketResponse { op: UserOperation;