Shun Miyazawa пре 1 година
родитељ
комит
4fb5e78dda
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      apps/app/src/features/openai/client/stores/thread.tsx

+ 1 - 1
apps/app/src/features/openai/client/stores/thread.tsx

@@ -6,7 +6,7 @@ import { apiv3Get } from '~/client/util/apiv3-client';
 
 import type { IThreadRelationHasId } from '../../interfaces/thread-relation';
 
-const getKey = (aiAssistantId: string) => [`openai/threads/${aiAssistantId}`];
+const getKey = (aiAssistantId: string) => [`/openai/threads/${aiAssistantId}`];
 
 export const useSWRxThreads = (aiAssistantId: string): SWRResponse<IThreadRelationHasId[], Error> => {
   const key = getKey(aiAssistantId);