Support empty menu response
In recent weeks many API calls return "null". Instead of letting the request fail, the parser now treats "null" as empty menu.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openmensa version="2.1" xmlns="http://openmensa.org/open-mensa-v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openmensa.org/open-mensa-v2 http://openmensa.org/open-mensa-v2.xsd">
|
||||
<canteen/>
|
||||
</openmensa>
|
||||
Reference in New Issue
Block a user