mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
Remove useless todo
This commit is contained in:
parent
93572c4e02
commit
0e26dc48e9
@ -206,8 +206,6 @@ module.exports = {
|
||||
if (strapi.models.hasOwnProperty(type)) {
|
||||
_.forEach(strapi.models[type].associations, function (relation) {
|
||||
const PK = utilsORM.getPK(relation.model) || utilsORM.getPK(relation.collection);
|
||||
// TODO:
|
||||
// - Use matched route
|
||||
const availableRoutes = {
|
||||
relSlSelf: utils.isRoute('GET /' + type + '/:' + PK + '/relationships/:relation'),
|
||||
relSlRelated: utils.isRoute('GET /' + type + '/:' + PK),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user