updated ALC endpoint + nl editor + js tests

This commit is contained in:
Jonathan Labreuille
2016-08-05 15:25:54 +02:00
parent 4dd7f32f3a
commit 1305a10ee0
8 changed files with 70 additions and 56 deletions

View File

@ -27,8 +27,8 @@ define([
return Module._cachedQuery({
action: 'getPostTypes',
options: {},
}).then(function(types) {
return _.values(types);
}).then(function(response) {
return _.values(response.data);
});
};