json-rest-api 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-rest-api",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -184,7 +184,7 @@ export const AccessPlugin = {
184
184
  }
185
185
 
186
186
  fields[field] = {
187
- type: 'number',
187
+ type: 'id',
188
188
  belongsTo: config.ownership.userResource,
189
189
  ...(relationshipName ? { as: relationshipName } : {}),
190
190
  nullable: true,