ストリーミングの存在しないプロパティ削除によるエラーを修正
This commit is contained in:
parent
bb47ab1287
commit
34cb22ae89
1 changed files with 3 additions and 1 deletions
|
@ -802,7 +802,9 @@ const startServer = async () => {
|
||||||
// reference_texts property is not working if ProcessReferencesWorker is
|
// reference_texts property is not working if ProcessReferencesWorker is
|
||||||
// used on PostStatusService and so on. (Asynchronous processing)
|
// used on PostStatusService and so on. (Asynchronous processing)
|
||||||
const reference_texts = payload.reference_texts || [];
|
const reference_texts = payload.reference_texts || [];
|
||||||
delete payload.reference_texts;
|
if (payload.reference_texts) {
|
||||||
|
delete payload.reference_texts;
|
||||||
|
}
|
||||||
|
|
||||||
// Streaming only needs to apply filtering to some channels and only to
|
// Streaming only needs to apply filtering to some channels and only to
|
||||||
// some events. This is because majority of the filtering happens on the
|
// some events. This is because majority of the filtering happens on the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue