Shun Miyazawa 1 년 전
부모
커밋
7653d2ebc9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/app/src/features/openai/server/models/thread-relation.ts

+ 1 - 1
apps/app/src/features/openai/server/models/thread-relation.ts

@@ -68,7 +68,7 @@ const threadRelationSchema = new Schema<ThreadRelationDocument, ThreadRelationMo
 });
 
 
-threadRelationSchema.statics.upsertThreadRelation = async function(userId: string, threadId: string) {
+threadRelationSchema.statics.upsertThreadRelation = async function(userId: string, threadId: string): Promise<void> {
   const expirationDate = generateExpirationDate();
 
   await this.updateOne(