зеркало из https://github.com/mozilla/gecko-dev.git
server payload decoding problem is fixed, so remove hack. we now always decode the payload after downloading.
This commit is contained in:
Родитель
cff2db88df
Коммит
f4b067191f
|
@ -112,8 +112,7 @@ WBOFilter.prototype = {
|
|||
let self = yield;
|
||||
let foo = wbo.uri.spec.split('/');
|
||||
data.id = decodeURI(foo[foo.length-1]);
|
||||
// data.payload = json.decode(data.payload)[0]; // fixme: server is decoding for us!
|
||||
data.payload = data.payload[0]; // remove when above gets fixed
|
||||
data.payload = json.decode(data.payload)[0];
|
||||
self.done(data);
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче