Skip to content

Commit

Permalink
add: copy message form to request
Browse files Browse the repository at this point in the history
  • Loading branch information
benchambule committed Aug 19, 2024
1 parent 5ac1cf9 commit e9f418a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 100 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ class Lottus {

if(!last_message){
last_message = new Message(this.entrypoint);
} else {
if(!request.form){
request.form = last_message.form;
}
}

const result = await this.process_request(request, last_message);
Expand Down
100 changes: 0 additions & 100 deletions lottus.js

This file was deleted.

0 comments on commit e9f418a

Please sign in to comment.