Spaces:
Running
Running
Commit
·
d836ad1
1
Parent(s):
437a7ee
fix: target muscles not array
Browse files
src/common/serializers/exercise.serialization.ts
CHANGED
|
@@ -75,7 +75,7 @@ export class ExerciseSerialization {
|
|
| 75 |
benefits: string;
|
| 76 |
|
| 77 |
@Expose()
|
| 78 |
-
@SwaggerResponseProperty({ type:
|
| 79 |
targetMuscles: any;
|
| 80 |
|
| 81 |
@Expose()
|
|
|
|
| 75 |
benefits: string;
|
| 76 |
|
| 77 |
@Expose()
|
| 78 |
+
@SwaggerResponseProperty({ type: TargetMuscles })
|
| 79 |
targetMuscles: any;
|
| 80 |
|
| 81 |
@Expose()
|
src/common/serializers/exercisePopulate.serialization.ts
CHANGED
|
@@ -77,7 +77,7 @@ export class ExercisePopulateSerialization {
|
|
| 77 |
benefits: string;
|
| 78 |
|
| 79 |
@Expose()
|
| 80 |
-
@SwaggerResponseProperty({ type:
|
| 81 |
targetMuscles: any;
|
| 82 |
|
| 83 |
@Expose()
|
|
|
|
| 77 |
benefits: string;
|
| 78 |
|
| 79 |
@Expose()
|
| 80 |
+
@SwaggerResponseProperty({ type: TargetMusclesPopulate })
|
| 81 |
targetMuscles: any;
|
| 82 |
|
| 83 |
@Expose()
|