fpavon-ee-shared 1.0.42 → 1.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -266,7 +266,7 @@ class DocumentosFTPRepository {
266
266
  AND DocumentoUuidFirmado IS NULL;
267
267
  `);
268
268
  yield transaction.commit();
269
- return result.recordset[0];
269
+ return result.recordsets[0].map(pin => pin.Pin);
270
270
  }
271
271
  catch (error) {
272
272
  console.error("Error DocumentosSqlRepository.buscarPinActivoPorUsuario:", error);
@@ -272,7 +272,7 @@ export class DocumentosFTPRepository implements IDocumentosRepository{
272
272
  `);
273
273
  await transaction.commit();
274
274
 
275
- return result.recordset[0];
275
+ return result.recordsets[0].map(pin=>pin.Pin);
276
276
 
277
277
  } catch (error: any) {
278
278
  console.error(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fpavon-ee-shared",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "description": "Carpeta compartida entre servicios de Expediente Electronico",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",