Changeset 509


Ignore:
Timestamp:
03/12/14 02:27:18 (11 years ago)
Author:
hendrikvanantwerpen
Message:

Reject non-simple answers and fix promise callback.

Location:
Dev/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/client/qed-client/model/classes/responses.js

    r492 r509  
    8181                contentType: 'application/json',
    8282                rawBody: body
    83             }).otherwise(lang.hitch(this,'_deserializeError'));
     83            }).then(function(result){
     84                return result;
     85            },lang.hitch(this,'_deserializeError'));
    8486        }
    8587    });
  • Dev/trunk/src/server/config/couchdb-schema.json

    r508 r509  
    9090              "type": "object",
    9191              "patternProperties": {
    92                   "^[A-Za-z0-9]+$": {}
     92                  "^[A-Za-z0-9]+$": { "type": ["string","number"] }
    9393              },
    9494              "additionalProperties": false
Note: See TracChangeset for help on using the changeset viewer.