diff --git a/modules/zone/back/methods/zone/getZoneClosing.js b/modules/zone/back/methods/zone/getZoneClosing.js index 849aa5008..56fb3b7a6 100644 --- a/modules/zone/back/methods/zone/getZoneClosing.js +++ b/modules/zone/back/methods/zone/getZoneClosing.js @@ -58,8 +58,7 @@ module.exports = Self => { ) AND z.id IN (${paramsString}) ORDER BY type='day' DESC, type='range' DESC, type='indefinitely' DESC) z - GROUP BY z.id - `; + GROUP BY z.id`; return await Self.rawSql(query, paramsSql, myOptions); };