Skip to content

Commit 4ddea3c

Browse files
committed
test: order of method decorators
1 parent ac62af5 commit 4ddea3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/e2e.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ class TestHandler {
5353
return { contentType, id, step, redirect, test: this.testField };
5454
}
5555

56-
@Post()
5756
@HttpCode(201)
57+
@Post()
5858
@SetHeader('X-Method', 'create')
5959
public create(@Header('Content-Type') contentType: string, @Body() body: CreateDto) {
6060
return { contentType, receivedBody: body, test: this.testField, instanceOf: body instanceof CreateDto };

0 commit comments

Comments
 (0)