Skip to content

Commit aa63443

Browse files
committed
fix: changed exportService to destructure DTOs
1 parent 42feab7 commit aa63443

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/templates/exportService.hbs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ export class {{{name}}}{{{@root.postfix}}} {
112112
{{/if}}
113113
{{#if parametersQuery}}
114114
query: {
115-
{{#each parametersQuery}}
116-
'{{{prop}}}': {{{name}}},
117-
{{/each}}
115+
{{#each parametersQuery}}
116+
'{{{name}}}': {{{name}}},
117+
{{/each}}
118+
},{{/each}}
118119
},
119120
{{/if}}
120121
{{#if parametersForm}}

0 commit comments

Comments
 (0)