From 6b99b5ef9bcf93fb8ce48f1b8171edf531819fe6 Mon Sep 17 00:00:00 2001 From: Stanislas Polu Date: Sat, 28 Dec 2024 12:28:09 +0100 Subject: [PATCH] fix canAccessConversation imports --- front/lib/api/assistant/feedback.ts | 2 +- front/lib/api/assistant/reaction.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/front/lib/api/assistant/feedback.ts b/front/lib/api/assistant/feedback.ts index ea841340c5a3..1ef36f06df72 100644 --- a/front/lib/api/assistant/feedback.ts +++ b/front/lib/api/assistant/feedback.ts @@ -7,7 +7,7 @@ import type { UserType } from "@dust-tt/types"; import { ConversationError, Err, GLOBAL_AGENTS_SID, Ok } from "@dust-tt/types"; import { Op } from "sequelize"; -import { canAccessConversation } from "@app/lib/api/assistant/conversation"; +import { canAccessConversation } from "@app/lib/api/assistant/conversation/auth"; import type { AgentMessageFeedbackDirection } from "@app/lib/api/assistant/conversation/feedbacks"; import type { Authenticator } from "@app/lib/auth"; import { AgentConfiguration } from "@app/lib/models/assistant/agent"; diff --git a/front/lib/api/assistant/reaction.ts b/front/lib/api/assistant/reaction.ts index 688ce75b0e5e..7300aef821bf 100644 --- a/front/lib/api/assistant/reaction.ts +++ b/front/lib/api/assistant/reaction.ts @@ -8,7 +8,7 @@ import type { import type { UserType } from "@dust-tt/types"; import { ConversationError, Err, Ok } from "@dust-tt/types"; -import { canAccessConversation } from "@app/lib/api/assistant/conversation"; +import { canAccessConversation } from "@app/lib/api/assistant/conversation/auth"; import type { Authenticator } from "@app/lib/auth"; import { Message,