Skip to content

Commit

Permalink
Merge pull request #41 from credebl/delete-tenant
Browse files Browse the repository at this point in the history
fix: delete multi-tenancy by tenant Id
  • Loading branch information
tipusinghaw authored Nov 22, 2023
2 parents 4aa7798 + b1efc2e commit 2e2ceae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/multi-tenancy/MultiTenancyController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ export class MultiTenancyController extends Controller {

@Get(":tenantId")
public async getTenantById(
@Query("tenantId") tenantId: string,
@Path("tenantId") tenantId: string,
@Res() notFoundError: TsoaResponse<404, { reason: string }>,
@Res() internalServerError: TsoaResponse<500, { message: string }>
) {
Expand Down Expand Up @@ -1202,7 +1202,7 @@ export class MultiTenancyController extends Controller {

@Delete(":tenantId")
public async deleteTenantById(
@Query("tenantId") tenantId: string,
@Path("tenantId") tenantId: string,
@Res() notFoundError: TsoaResponse<404, { reason: string }>,
@Res() internalServerError: TsoaResponse<500, { message: string }>
) {
Expand Down

0 comments on commit 2e2ceae

Please sign in to comment.