feat: update endpoint swagger docs

This commit is contained in:
Ahmed Bouhuolia
2025-06-22 20:58:53 +02:00
parent b8c9919799
commit 9aa1ed93ca
18 changed files with 1545 additions and 16 deletions

View File

@@ -46,7 +46,6 @@ export class GetInventoryAdjustmentsService {
this.inventoryAdjustmentModel(),
filter,
);
const { results, pagination } = await this.inventoryAdjustmentModel()
.query()
.onBuild((query) => {
@@ -62,10 +61,7 @@ export class GetInventoryAdjustmentsService {
results,
new InventoryAdjustmentTransformer(),
);
return {
data,
pagination,
};
return { data, pagination };
}
/**