File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/app/store/entities/sandboxes Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -344,11 +344,10 @@ export default {
344344 sandbox . modules . map ( x => modules [ x ] ) ,
345345 sandbox . directories . map ( x => directories [ x ] )
346346 ) ;
347+ console . log ( apiData ) ;
347348
348349 const user = currentUserSelector ( getState ( ) ) ;
349-
350350 const token = user . integrations . zeit . token ;
351-
352351 const res = await fetch ( 'https://api.zeit.co/now/deployments' , {
353352 method : 'POST' ,
354353 body : JSON . stringify ( apiData ) ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export default async function deploy(
3333 }
3434
3535 apiData . package = JSON . parse ( apiData [ 'package.json' ] ) ;
36- apiData [ 'package.json' ] = null ;
36+ delete apiData [ 'package.json' ] ;
3737
3838 const template = getTemplate ( sandbox . template ) ;
3939
You can’t perform that action at this time.
0 commit comments