Show two launches

This commit is contained in:
Henri Bergius 2017-12-10 18:57:13 +01:00
parent 35df9b73e9
commit 2bd0ad362f

View file

@ -32,7 +32,7 @@ function getEvents(number, callback) {
return false; return false;
}); });
fetch('https://launchlibrary.net/1.3/launch/next/1') fetch('https://launchlibrary.net/1.3/launch/next/2')
.then(res => res.json()) .then(res => res.json())
.then((res) => { .then((res) => {
const launches = res.launches.map((launch) => { const launches = res.launches.map((launch) => {