mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-07 07:02:57 +00:00
fix(browser): simplify upload path result type
This commit is contained in:
@@ -156,7 +156,7 @@ async function resolveDirectInboundMediaPath(params: {
|
||||
inboundMediaDir: string;
|
||||
requestedPath: string;
|
||||
strict: boolean;
|
||||
}): Promise<ExistingPathsResult | StrictExistingPathsResult> {
|
||||
}): Promise<ExistingPathsResult> {
|
||||
const inboundPathsResult = params.strict
|
||||
? await resolveStrictExistingPathsWithinRoot({
|
||||
rootDir: params.inboundMediaDir,
|
||||
|
||||
Reference in New Issue
Block a user