mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-20 08:35:17 +00:00
Fix little issue
This commit is contained in:
@ -27,7 +27,7 @@ export class ConversationsController {
|
||||
*/
|
||||
public static async GetInfoSingle(handler: RequestHandler) {
|
||||
const conversationID = await this.GetPostConversationId("conversationID", handler);
|
||||
const conv = await ConversationsHelper.GetSingle(conversationID);
|
||||
const conv = await ConversationsHelper.GetSingle(conversationID, handler.getUserId());
|
||||
|
||||
if(!conv)
|
||||
throw Error("Could not get information about the conversation (but it should have been found though) !!");
|
||||
|
Reference in New Issue
Block a user