Skip to content

Commit

Permalink
fix: removed orgId from get all schema API
Browse files Browse the repository at this point in the history
Signed-off-by: tipusinghaw <[email protected]>
Signed-off-by: KulkarniShashank <[email protected]>
  • Loading branch information
tipusinghaw authored and KulkarniShashank committed Sep 11, 2024
1 parent 63386b2 commit 0ece932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/ledger/src/schema/schema.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ export class SchemaService extends BaseService {
}
}

async getAllSchema(schemaSearchCriteria: ISchemaSearchCriteria, user: IUserRequestInterface, orgId: number): Promise<{
async getAllSchema(schemaSearchCriteria: ISchemaSearchCriteria): Promise<{
totalItems: number;
hasNextPage: boolean;
hasPreviousPage: boolean;
Expand All @@ -370,7 +370,7 @@ export class SchemaService extends BaseService {
}[];
}> {
try {
const response = await this.schemaRepository.getAllSchemaDetails(schemaSearchCriteria, orgId);
const response = await this.schemaRepository.getAllSchemaDetails(schemaSearchCriteria);
const schemasResponse = {
totalItems: response.length,
hasNextPage: schemaSearchCriteria.pageSize * schemaSearchCriteria.pageNumber < response.length,
Expand Down

0 comments on commit 0ece932

Please sign in to comment.