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
|
@@ -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("
|
|
120
|
+
throw new ResponseError("User not found");
|
|
121
121
|
}
|
|
122
122
|
return convert(user, ZodUserDto);
|
|
123
123
|
}
|