Skip to content

Commit

Permalink
format scrub
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Mar 7, 2023
1 parent 4a8d7f9 commit a287bc4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import asyncio
from typing import List

from fastapi import APIRouter
from fastapi.staticfiles import StaticFiles
from typing import List

from lnbits.db import Database
from lnbits.helpers import template_renderer
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Scrub",
"short_description": "Pass payments to LNURLp/LNaddress",
"tile": "/scrub/static/image/scrub.png",
"tile": "/scrub/static/image/scrub.png",
"contributors": ["arcbtc", "talvasconcelos"]
}
14 changes: 7 additions & 7 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"repos": [
{
"id": "scrub",
"organisation": "lnbits",
"repository": "scrub"
}
]
"repos": [
{
"id": "scrub",
"organisation": "lnbits",
"repository": "scrub"
}
]
}
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
from fastapi import HTTPException

from lnbits import bolt11
from lnbits.core.crud import get_standalone_payment
from lnbits.core.models import Payment
from lnbits.core.services import pay_invoice
from lnbits.core.crud import get_standalone_payment
from lnbits.helpers import get_current_extension_name
from lnbits.tasks import register_invoice_listener

Expand Down
13 changes: 8 additions & 5 deletions views_api.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
from http import HTTPStatus

from loguru import logger
from fastapi import Depends, Query
from loguru import logger
from starlette.exceptions import HTTPException

from lnbits.core.crud import get_user
from lnbits.decorators import WalletTypeInfo, get_key_type, require_admin_key, check_admin


from lnbits.decorators import (
WalletTypeInfo,
check_admin,
get_key_type,
require_admin_key,
)

from . import scrub_ext, scheduled_tasks
from . import scheduled_tasks, scrub_ext
from .crud import (
create_scrub_link,
delete_scrub_link,
Expand Down

0 comments on commit a287bc4

Please sign in to comment.