Skip to content

Commit c90c2fc

Browse files
committed
refactor(fork): remove self-explanatory comments
1 parent 9681bee commit c90c2fc

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • apps/sim/app/api/mothership/chats/[chatId]/fork

apps/sim/app/api/mothership/chats/[chatId]/fork/route.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ import { assertActiveWorkspaceAccess } from '@/lib/workspaces/permissions/utils'
2525

2626
const logger = createLogger('ForkChatAPI')
2727

28-
/**
29-
* POST /api/mothership/chats/[chatId]/fork
30-
* Creates a new chat branched from the given chat, keeping messages up to and
31-
* including the specified message. Resources and copilot-side state are copied.
32-
*/
3328
export const POST = withRouteHandler(
3429
async (request: NextRequest, context: { params: Promise<{ chatId: string }> }) => {
3530
const { userId, isAuthenticated } = await authenticateCopilotRequestSessionOnly()

0 commit comments

Comments
 (0)