Skip to content

Commit bea5ce1

Browse files
committed
Call correct function, to close the conversation
1 parent 7cc279e commit bea5ce1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

files/lib/system/endpoint/controller/core/conversations/CloseConversation.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __invoke(ServerRequestInterface $request, array $variables): Res
3232
$this->assertConversationCanClosed($conversation);
3333

3434
if (!$conversation->isClosed) {
35-
$this->openConversation($conversation);
35+
$this->closeConversation($conversation);
3636
}
3737

3838
return new JsonResponse([]);

0 commit comments

Comments
 (0)