Changeset - e1cd00f7b72f
[Not reviewed]
Dennis Fink - 9 years ago 2015-10-20 01:39:19
dennis.fink@c3l.lu
Fix bandwidth in api. There was a typo
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
ennstatus/api/model.py
Show inline comments
 
@@ -96,7 +96,7 @@ class Server:
 
        self.fingerprint = kwargs['fingerprint']
 
        self.last_updated = kwargs['last_updated']
 
        self.country = kwargs['country']
 
        self.bandwith = kwargs.get('bandwith')
 
        self.bandwidth = kwargs.get('bandwidth')
 

	
 
        if self.type == 'bridge':
 
            self.obfs = kwargs.get('obfs')
ennstatus/api/schema/server.json
Show inline comments
 
@@ -91,7 +91,7 @@
 
            "type": "string",
 
            "format": "date-time"
 
        },
 
        "bandwith": {
 
        "bandwidth": {
 
            "type": [
 
                "string",
 
                "null"
0 comments (0 inline, 0 general)