abdm_content_fetch_only() always returned phase=COMPLETED and 'Records fetched successfully' whenever the data_fetch API call itself succeeded (fetchResult.ok===1), even when documents_persisted+documents_updated was 0 (bridge/HIP hasn't actually delivered any records yet -- decrypted_data still empty, session status 'requested'). Now check documents_persisted+documents_updated: if 0, report phase=GRANTED with a clear 'not sent any records yet' message instead of falsely claiming success. |
||
|---|---|---|
| .. | ||
| Authentication/Authenticators | ||
| Commands | ||
| Config | ||
| Controllers | ||
| Database | ||
| Filters | ||
| Helpers | ||
| Language | ||
| Libraries | ||
| Models | ||
| ThirdParty | ||
| Validation | ||
| Views | ||
| .htaccess | ||
| Common.php | ||
| index.html | ||