mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-08-09 10:13:02 +02:00
Dupe code cleanup
This commit is contained in:
@@ -335,23 +335,6 @@ class ContactRepository:
|
||||
)
|
||||
await db.conn.commit()
|
||||
|
||||
@staticmethod
|
||||
async def update_path(
|
||||
public_key: str,
|
||||
path: str,
|
||||
path_len: int,
|
||||
path_hash_mode: int | None = None,
|
||||
updated_at: int | None = None,
|
||||
) -> None:
|
||||
"""Compatibility shim for legacy callers/tests."""
|
||||
await ContactRepository.update_direct_path(
|
||||
public_key,
|
||||
path,
|
||||
path_len,
|
||||
path_hash_mode,
|
||||
updated_at=updated_at,
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
async def set_routing_override(
|
||||
public_key: str,
|
||||
|
||||
Reference in New Issue
Block a user