15 lines
224 B
JavaScript
Raw Normal View History

2015-10-30 14:36:19 +01:00
'use strict';
2015-10-22 17:54:43 +02:00
/**
* Update a specific entry.
*/
module.exports = function * () {
try {
const entry = yield strapi.hooks.blueprints.update(this);
this.body = entry;
} catch (err) {
this.body = err;
}
};