refactor: remove verified unused internals (#6460)
* refactor: remove verified unused internals * test(linear): synchronize webhook shutdown with writer join
This commit is contained in:
1 parent
3230013963
commit
f23a6d1485
105 files changed
+207
-1282
No files matched your search
@@ -31,7 +31,6 @@ class FeishuConnectSession:
|
||||
expire_in: int
|
||||
created_wall: float
|
||||
deadline: float
|
||||
last_error: str | None = None
|
||||
|
||||
|
||||
class FeishuConnectStore:
|
||||
@@ -141,8 +140,7 @@ class FeishuConnectStore:
|
||||
device_code=session.device_code,
|
||||
domain=session.domain,
|
||||
)
|
||||
except (RuntimeError, OSError, json.JSONDecodeError, httpx.HTTPError) as exc:
|
||||
session.last_error = str(exc)
|
||||
except (RuntimeError, OSError, json.JSONDecodeError, httpx.HTTPError):
|
||||
return _pending_payload(session)
|
||||
|
||||
status = result.get("status")
|
||||
|
||||
@@ -4,7 +4,6 @@ import type { NanobotFeaturesPayload } from "@/lib/types";
|
||||
import { FeishuConnectFlowView, useFeishuConnectLabels } from "./FeishuConnectFlowView";
|
||||
|
||||
export function FeishuConnectFlow({
|
||||
token,
|
||||
instanceId = "default",
|
||||
mode = "replace",
|
||||
idleLabel,
|
||||
@@ -21,7 +20,6 @@ export function FeishuConnectFlow({
|
||||
const labels = useFeishuConnectLabels();
|
||||
return (
|
||||
<ChannelQrConnectFlow
|
||||
token={token}
|
||||
channelName="feishu"
|
||||
startParams={{ domain: "feishu", instance_id: instanceId, mode }}
|
||||
idleLabel={idleLabel}
|
||||
|
||||
Reference in new issue
Block a user