Skip to content

Commit 48ebf85

Browse files
committed
dont store this.model in variable
1 parent e11f3dc commit 48ebf85

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/handlers/chat_handler.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ class ChatService {
77

88
async startChat(data) {
99
const { body: { userInput } } = data;
10-
const model = this.model;
11-
const response = await model.call(userInput);
10+
const response = await this.model.call(userInput);
1211

1312
return response;
1413
}

0 commit comments

Comments
 (0)