Explorar el Código

fixing last database update code

main
Simon Bowie hace 1 semana
padre
commit
f380522ac2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      web/app/resources.py

+ 1
- 1
web/app/resources.py Ver fichero

@@ -99,7 +99,7 @@ def get_book_cover(book):

# function to retrieve last updated date from the database
def get_last_date():
resource = Resource.query.order_by(Resource.created.asc()).filter_by(published=True).first()
resource = Resource.query.order_by(Resource.created.desc()).filter_by(published=True).first()
return resource.created.isoformat()

# function to retrieve last commit date from a GitHub repository for a tool

Cargando…
Cancelar
Guardar