This commit is contained in:
gidsi 2019-03-31 11:52:40 +02:00
commit 64ad60a8e2
No known key found for this signature in database
GPG key ID: B47291090A6E5604
4 changed files with 26 additions and 22 deletions

View file

@ -80,7 +80,7 @@ func loadSpaceData() {
if(spaceUrl.Validated && int64(spaceUrl.LastUpdated + 60) < timestamp) {
spaceData := SpaceData{}
err := getJson(spaceUrl.Url, &spaceData)
if err != nil
if(err != nil)
{
log.Println(spaceUrl.Url)
log.Println(err)
@ -99,4 +99,4 @@ func refreshData(w http.ResponseWriter, r *http.Request) {
getCalendars()
w.WriteHeader(204)
}
}