mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
create question missing cache fix
This commit is contained in:
parent
c167dcf5b2
commit
b700bfba77
3 changed files with 7 additions and 4 deletions
|
@ -217,6 +217,10 @@ function createQuestion(
|
|||
Q: simplifyQuestion(question),
|
||||
A: answer ? simplifyAnswer(answer) : undefined,
|
||||
data: data,
|
||||
cache: {
|
||||
Q: question ? simplifyString(question).split(' ') : [],
|
||||
A: answer ? simplifyString(answer).split(' ') : [],
|
||||
},
|
||||
}
|
||||
} else {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue