Cant update usergroups #149

Closed
opened 2021-02-26 16:26:40 +00:00 by niggl · 0 comments
Owner

putting to /api/usergroups/:id returns:

{
  "name": "EntityMetadataNotFound",
  "message": "No metadata for \"UpdateUserGroup\" was found.",
  "stack": "EntityMetadataNotFound: No metadata for \"UpdateUserGroup\" was found.\n    at new EntityMetadataNotFoundError (/node_modules/.pnpm/typeorm@0.2.31/node_modules/typeorm/error/EntityMetadataNotFoundError.js:10:28)\n    at Connection.getMetadata (/node_modules/.pnpm/typeorm@0.2.31/node_modules/typeorm/connection/Connection.js:360:19)\n    at buildMap (/node_modules/.pnpm/typeorm-routing-controllers-extensions@0.2.0_6544d7f6679d3fbdcbba18de52a8d468/node_modules/typeorm-routing-controllers-extensions/decorators/EntityFromBody.js:30:32)\n    at ParamMetadata.transform (/node_modules/.pnpm/typeorm-routing-controllers-extensions@0.2.0_6544d7f6679d3fbdcbba18de52a8d468/node_modules/typeorm-routing-controllers-extensions/decorators/EntityFromBody.js:38:30)\n    at ActionParameterHandler.handleValue (/node_modules/.pnpm/routing-controllers@0.9.0-alpha.6_e55adea42dd62e7eaa7e4f283d6f41a1/node_modules/routing-controllers/ActionParameterHandler.js:99:27)\n    at /node_modules/.pnpm/routing-controllers@0.9.0-alpha.6_e55adea42dd62e7eaa7e4f283d6f41a1/node_modules/routing-controllers/ActionParameterHandler.js:87:63\n    at async Promise.all (index 1)"
}
putting to /api/usergroups/:id returns: ```json { "name": "EntityMetadataNotFound", "message": "No metadata for \"UpdateUserGroup\" was found.", "stack": "EntityMetadataNotFound: No metadata for \"UpdateUserGroup\" was found.\n at new EntityMetadataNotFoundError (/node_modules/.pnpm/typeorm@0.2.31/node_modules/typeorm/error/EntityMetadataNotFoundError.js:10:28)\n at Connection.getMetadata (/node_modules/.pnpm/typeorm@0.2.31/node_modules/typeorm/connection/Connection.js:360:19)\n at buildMap (/node_modules/.pnpm/typeorm-routing-controllers-extensions@0.2.0_6544d7f6679d3fbdcbba18de52a8d468/node_modules/typeorm-routing-controllers-extensions/decorators/EntityFromBody.js:30:32)\n at ParamMetadata.transform (/node_modules/.pnpm/typeorm-routing-controllers-extensions@0.2.0_6544d7f6679d3fbdcbba18de52a8d468/node_modules/typeorm-routing-controllers-extensions/decorators/EntityFromBody.js:38:30)\n at ActionParameterHandler.handleValue (/node_modules/.pnpm/routing-controllers@0.9.0-alpha.6_e55adea42dd62e7eaa7e4f283d6f41a1/node_modules/routing-controllers/ActionParameterHandler.js:99:27)\n at /node_modules/.pnpm/routing-controllers@0.9.0-alpha.6_e55adea42dd62e7eaa7e4f283d6f41a1/node_modules/routing-controllers/ActionParameterHandler.js:87:63\n at async Promise.all (index 1)" } ```
niggl added the
bug
label 2021-02-26 16:26:40 +00:00
niggl self-assigned this 2021-02-26 16:26:40 +00:00
niggl added the
status:review_needed
label 2021-02-26 16:32:36 +00:00
niggl closed this issue 2021-02-26 18:30:17 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lfk/backend#149
No description provided.