mirror of
https://github.com/lnbits/lnbits.git
synced 2025-12-18 16:42:26 +01:00
Add a payments page for admin (#2910)
This commit is contained in:
committed by
GitHub
parent
c1d26bb274
commit
34a959f0bc
@@ -117,7 +117,6 @@ async def test_login_usr_not_allowed_for_admin_without_credentials(
|
||||
response = await http_client.get(
|
||||
f"/admin/api/v1/settings?usr={settings.super_user}"
|
||||
)
|
||||
print("### response", response.text)
|
||||
assert response.status_code == 403
|
||||
assert (
|
||||
response.json().get("detail") == "User id only access for admins is forbidden."
|
||||
|
||||
Reference in New Issue
Block a user