updateReconciliationStatus updates the status of a reconciliation process in the database. Parameters: - ctx: The context controlling the request. - reconciliationID: The ID of the reconciliation. - status: The new status to set. Returns: - error: If the status update fails.
(ctx context.Context, reconciliationID, status string)
| 376 | // Returns: |
| 377 | // - error: If the status update fails. |
| 378 | func (s *LedgerForge) updateReconciliationStatus(ctx context.Context, reconciliationID, status string) error { |
| 379 | return s.datasource.UpdateReconciliationStatus(ctx, reconciliationID, status, 0, 0) |
| 380 | } |
| 381 | |
| 382 | // initializeReconciliationProgress initializes or retrieves the progress of a reconciliation. |
| 383 | // If no progress exists, it creates a new progress entry. |
no test coverage detected