From adaeb6ab05df207a97f86497e840215390918482 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 23 Mar 2021 20:48:17 +0100 Subject: [PATCH] cosmetics --- bookshop/sqlite.db | Bin 73728 -> 73728 bytes bookshop/srv/server.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/bookshop/sqlite.db b/bookshop/sqlite.db index 5ddf010a1607c6c283da1aedc2e42582ed9a9626..fe3f4dac0dbdf5f73cfc0e806c0d2c1f7c22f154 100644 GIT binary patch delta 311 zcmZoTz|wGlWr8%L-9#B@M!Ss(zOvkwRwiavrWSf;M#hu-<;76=H)YFE_~`Q0a`|}W t#pLtw$#32uKRp?*g5qX2CcFxkwsJD!RdB0qF@6(Pc51WWGhtERBmjBGP0j!S delta 311 zcmZoTz|wGlWr8%L=|mZ4M$?T6zOvjFR>r1Q#wL0umWGr2<;76=H)YFE_~`Q0a`|}W t#pLtw$#32uKRp?*g5qX2CcFxkwsJD!RdB0qF@6(Pc51WWGhtERBmgAfO;7*; diff --git a/bookshop/srv/server.js b/bookshop/srv/server.js index d8b0d5bd..d71dd910 100644 --- a/bookshop/srv/server.js +++ b/bookshop/srv/server.js @@ -1,6 +1,6 @@ const cds = require ('@sap/cds') -cds.on('served', async ()=>{ try { +cds.on('listening', async ()=>{ try { //> just to see the output at the end; will later on be in db service impl console.log ('\nFilling database with initial data...') const m = cds.model.minified() //> we likely should do that by default const tx = cds.tx()