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