Fix reference for embedded project in file schema

This commit is contained in:
Francesco Siddi 2016-01-27 17:50:39 +01:00
parent 8a06634839
commit f341d33faf

View File

@ -416,7 +416,7 @@ files_schema = {
# to join permissions from the project and verify user access.
'type': 'objectid',
'data_relation': {
'resource': 'nodes',
'resource': 'projects',
'field': '_id',
'embeddable': True
},