Skip to content

Commit 1013b2b

Browse files
committed
improvement(files): correct the servable reader's 409 note
Batch callers build the response from docNotReadyMessage rather than through docNotReadyResponse, so the doc comment now describes the outcome instead of naming one of the two helpers.
1 parent 4bbece2 commit 1013b2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/lib/uploads/contexts/workspace/workspace-file-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ export async function getWorkspaceFile(
978978
* source itself is wanted (style extraction, compile checks, the copilot VFS).
979979
*
980980
* Throws `DocCompileUserError` when a generated doc's artifact is still compiling —
981-
* callers surface a retryable 409 via `docNotReadyResponse` rather than shipping source.
981+
* callers turn that into a retryable 409 rather than shipping source.
982982
*/
983983
export async function fetchServableWorkspaceFileBuffer(
984984
fileRecord: WorkspaceFileRecord,

0 commit comments

Comments
 (0)