refactor: remove extra param

This commit is contained in:
Vlad Stan
2026-07-09 16:35:07 +03:00
parent 81e8a08240
commit 61cdfd4662
3 changed files with 0 additions and 5 deletions
-1
View File
@@ -244,7 +244,6 @@ def _add_wasm_extension_api_route(
try:
payload = await _read_api_payload(request, path_params)
return await invoke_wasm_export(
app,
extension.id,
export_name,
payload,
-3
View File
@@ -7,8 +7,6 @@ from collections.abc import Mapping
from functools import lru_cache
from typing import Any
from fastapi import FastAPI
from lnbits.core.crud.extensions import get_installed_extension
from lnbits.core.db import core_app_extra
@@ -18,7 +16,6 @@ from .runtime import ExtensionAPIHost
async def invoke_wasm_extension_export(
app: FastAPI,
ext_id: str,
export_name: str,
payload: Mapping[str, Any] | None = None,
-1
View File
@@ -2,7 +2,6 @@ import asyncio
import json
from typing import Any
from fastapi import FastAPI
from loguru import logger
from lnbits.core.crud import create_audit_entry