--- before.mjs +++ after.mjs @@ -26,1 +26,1 @@ - // BUG: response is acknowledged without awaiting or writing the booking record. + if (mode !== 'storage') await writeFile(path.join(dataDir, `${reference}.json`), JSON.stringify(record));