This commit is contained in:
KuongKnight 2018-05-29 09:18:56 +07:00 committed by GitHub
parent 2bd58636d4
commit 394ea8beaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,7 +328,7 @@ module.exports = function(strapi) {
});
switch (relation.nature) {
case 'oneWay:
case 'oneWay':
case 'oneToOne':
case 'manyToOne':
type = definition.primaryKeyType;