btcpayserver/BTCPayServer/Hosting
Wouter Samaey 6de4f6a3ac
Mention the missing API permission in the response of a Greenfield request (#3195)
* Mention the missing API permission in the response header or body

* Fixes + Added a unit test. 1 TODO remains.

* Added MissingPermissionDescription to the error

* Update BTCPayServer.Tests/GreenfieldAPITests.cs

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>

* Fix tests

* [GreenField]: Make sure we are sending fully typed errors

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-12-16 23:04:06 +09:00
..
BlockExplorerLinkStartupTask.cs Plugins: Allow creation of independent DbContexts 2020-11-18 12:27:26 +01:00
BTCpayMiddleware.cs Remove Logs static singletons 2021-11-23 13:55:34 +09:00
BTCPayServerServices.cs Mention the missing API permission in the response of a Greenfield request (#3195) 2021-12-16 23:04:06 +09:00
GreenfieldMiddleware.cs Mention the missing API permission in the response of a Greenfield request (#3195) 2021-12-16 23:04:06 +09:00
HeadersOverrideMiddleware.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
MigrationStartupTask.cs Remove Confirmed state in UI (#3090) 2021-11-26 23:13:41 +09:00
ResourceBundleProvider.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
SkippableObjectValidatorProvider.cs Add Label and accountKeyPath to the on chain payment methods (#2166) 2020-12-28 13:59:01 +01:00
Startup.cs Greenfield: Improve error message, do not use internal lightning node on store's lightning API 2021-12-16 14:27:34 +09:00