mirror of
https://github.com/Daniongithub/startfermate-api.git
synced 2025-10-02 16:10:50 +00:00
Fix
This commit is contained in:
@@ -68,7 +68,7 @@ app.get('/fermata', async (req, res) => {
|
|||||||
|
|
||||||
//Linee soppresse a metà
|
//Linee soppresse a metà
|
||||||
|
|
||||||
const linee = ["Linea 1", "Linea 1B", "Linea 2", "Linea 3", "Linea 4", "Linea 4B", "Linea 4D", "Linea 5", "Linea 8", "Linea 18", "Linea 70", "Linea 80"];
|
const linee = ["Linea 1", "Linea 1B", "Linea 3", "Linea 4", "Linea 4B", "Linea 4D", "Linea 5", "Linea 8", "Linea 18", "Linea 70", "Linea 80"];
|
||||||
|
|
||||||
if(linee.includes(linea) && destinazione == "Stazione FS"){
|
if(linee.includes(linea) && destinazione == "Stazione FS"){
|
||||||
linea = linea + "/";
|
linea = linea + "/";
|
||||||
|
Reference in New Issue
Block a user