mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 10:23:34 +00:00
Write some TODOs
This commit is contained in:
parent
8b7aa8ebce
commit
047f68383f
@ -44,6 +44,9 @@ module.exports = {
|
||||
break;
|
||||
case 'PATCH':
|
||||
case 'POST':
|
||||
// TODO:
|
||||
// - Detect relationships edition or addition
|
||||
// - Fetch and format body
|
||||
try {
|
||||
yield this.fetchSchema(ctx);
|
||||
yield this.formatBody(ctx);
|
||||
@ -52,7 +55,9 @@ module.exports = {
|
||||
}
|
||||
break;
|
||||
case 'DELETE':
|
||||
// Nothing to do
|
||||
// TODO:
|
||||
// - Detect relationships deletion
|
||||
// - Fetch and format body
|
||||
break;
|
||||
default:
|
||||
throw {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user