Skip to content

Commit c50fea2

Browse files
authored
fix: recover sandbox request body (codesandbox#3524)
1 parent 641a3d4 commit c50fea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/app/pages/Dashboard/queries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,12 @@ export function addSandboxesToFolder(
290290
export function undeleteSandboxes(selectedSandboxes) {
291291
client.mutate<AddToCollectionMutation, AddToCollectionMutationVariables>({
292292
mutation: ADD_SANDBOXES_TO_FOLDER_MUTATION,
293+
// @ts-ignore
293294
variables: {
294295
sandboxIds: selectedSandboxes.toJS
295296
? selectedSandboxes.toJS()
296297
: selectedSandboxes,
297298
collectionPath: '/',
298-
teamId: null,
299299
},
300300
optimisticResponse: {
301301
__typename: 'RootMutationType',

0 commit comments

Comments
 (0)