fixed usage of outdated express api
Merge pull request #1 from LukaHorvat/express-fix

fixed usage of outdated express api