mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 15:30:39 +00:00
fix(msteams): Fix code formatting
Remove trailing whitespace to pass oxfmt format check.
This commit is contained in:
committed by
Peter Steinberger
parent
ecbb3bcc1a
commit
773ab319ef
@@ -159,7 +159,7 @@ describe("msteams file consent invoke authz", () => {
|
||||
await vi.waitFor(() => {
|
||||
expect(fileConsentMockState.uploadToConsentUrl).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
|
||||
|
||||
expect(fileConsentMockState.uploadToConsentUrl).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
url: "https://upload.example.com/put",
|
||||
|
||||
@@ -145,7 +145,7 @@ export function registerMSTeamsHandlers<T extends MSTeamsActivityHandler>(
|
||||
if (ctx.activity?.type === "invoke" && ctx.activity?.name === "fileConsent/invoke") {
|
||||
// Send invoke response IMMEDIATELY to prevent Teams timeout
|
||||
await ctx.sendActivity({ type: "invokeResponse", value: { status: 200 } });
|
||||
|
||||
|
||||
// Handle file upload asynchronously (don't await)
|
||||
handleFileConsentInvoke(ctx, deps.log).catch((err) => {
|
||||
deps.log.debug?.("file consent handler error", { error: String(err) });
|
||||
|
||||
Reference in New Issue
Block a user