rez_core 6.5.89 → 6.5.90

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": "rez_core",
3
- "version": "6.5.89",
3
+ "version": "6.5.90",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -26,11 +26,10 @@ export class AttributeMasterController {
26
26
  @Req() req: Request & { user: any },
27
27
  ) {
28
28
  const loggedInUser = req.user.userData;
29
- // return await this.attributeMasterService.createAttribute(
30
- // attributeData,
31
- // loggedInUser,
32
- // );
33
- return true
29
+ return await this.attributeMasterService.createAttribute(
30
+ attributeData,
31
+ loggedInUser,
32
+ );
34
33
  }
35
34
 
36
35
 
@@ -42,12 +41,11 @@ export class AttributeMasterController {
42
41
  @Req() req: Request & { user: any },
43
42
  ) {
44
43
  const loggedInUser = req.user.userData;
45
- // return await this.attributeMasterService.updateAttribute(
46
- // attributeData,
47
- // id,
48
- // loggedInUser,
49
- // );
50
- return true
44
+ return await this.attributeMasterService.updateAttribute(
45
+ attributeData,
46
+ id,
47
+ loggedInUser,
48
+ );
51
49
  }
52
50
 
53
51
  @Get('getById/:id')