Commit 9cb8bc16 authored by nanahira's avatar nanahira

fix

parent 0f1c77f3
...@@ -93,9 +93,7 @@ export class AppController { ...@@ -93,9 +93,7 @@ export class AppController {
@Headers('Authorization') header: string, @Headers('Authorization') header: string,
) { ) {
await this.authService.auth(header); await this.authService.auth(header);
const hasConversation = await this.conversation.hasConversation( const hasConversation = await this.chatgpt.hasConversation(dto.session);
dto.session,
);
const payload = new HasConversationDto(); const payload = new HasConversationDto();
payload.session = dto.session; payload.session = dto.session;
payload.hasConversation = hasConversation; payload.hasConversation = hasConversation;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment