codeweaver 3.1.2 → 3.1.3

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": "codeweaver",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "main": "src/main.ts",
5
5
  "bin": {
6
6
  "codeweaver": "command.js"
@@ -117,7 +117,7 @@ export default class UserController {
117
117
  public async get(id: number): Promise<UserDto> {
118
118
  const user = users.find((user) => user.id === id);
119
119
  if (user == null) {
120
- throw new ResponseError("Product not found");
120
+ throw new ResponseError("User not found");
121
121
  }
122
122
  return convert(user, ZodUserDto);
123
123
  }