alby-hub/http
Adithya Vardhan 3aa167a7c4
fix: add err handling to db queries (#2064)
* fix: add err handling to db queries

* chore: add error handling to GetApp

* chore: wrap the original error

* fix: retrieve balance after err != nil check

* chore: minor code cleanup

* chore: add error handling to app permission listing in GetApp

* chore: convert GetBudgetUsageSat to GetBudgetUsage

* chore: add tests for GetBudgetUsage

* chore: separate budget window tests

---------

Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2026-02-27 16:31:25 +07:00
..
alby_http_service.go fix: prevent LN client access during shutdown (#2096) 2026-02-27 15:45:09 +07:00
http_service.go fix: add err handling to db queries (#2064) 2026-02-27 16:31:25 +07:00
http_service_test.go fix: update no-token API tests to expect 401 (#2059) 2026-02-12 09:56:48 +05:30
models.go Refactor: API cleanup (#338) 2024-05-30 00:06:06 +07:00