File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/controllers/multi-tenancy Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1160,7 +1160,7 @@ export class MultiTenancyController extends Controller {
11601160
11611161 @Get ( ":tenantId" )
11621162 public async getTenantById (
1163- @Query ( "tenantId" ) tenantId : string ,
1163+ @Path ( "tenantId" ) tenantId : string ,
11641164 @Res ( ) notFoundError : TsoaResponse < 404 , { reason : string } > ,
11651165 @Res ( ) internalServerError : TsoaResponse < 500 , { message : string } >
11661166 ) {
@@ -1202,7 +1202,7 @@ export class MultiTenancyController extends Controller {
12021202
12031203 @Delete ( ":tenantId" )
12041204 public async deleteTenantById (
1205- @Query ( "tenantId" ) tenantId : string ,
1205+ @Path ( "tenantId" ) tenantId : string ,
12061206 @Res ( ) notFoundError : TsoaResponse < 404 , { reason : string } > ,
12071207 @Res ( ) internalServerError : TsoaResponse < 500 , { message : string } >
12081208 ) {
You can’t perform that action at this time.
0 commit comments