File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
packages/catalyst/src/cli Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ function useCaptureHandlers(captured: {
8787 http . post (
8888 'https://:apiHost/stores/:storeHash/v3/infrastructure/deployments/uploads' ,
8989 ( { request, params } ) => {
90+ // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
9091 captured . storeHash = params . storeHash as string ;
9192 captured . accessToken =
9293 request . headers . get ( 'X-Auth-Token' ) ?? request . headers . get ( 'x-auth-token' ) ?? '' ;
@@ -105,8 +106,10 @@ function useCaptureHandlers(captured: {
105106 'https://:apiHost/stores/:storeHash/v3/infrastructure/deployments' ,
106107 async ( { request, params } ) => {
107108 captured . storeHash =
109+ // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
108110 ( params . storeHash as string ) || new URL ( request . url ) . pathname . split ( '/' ) [ 2 ] || '' ;
109111
112+ // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
110113 const body = ( await request . json ( ) ) as { project_uuid ?: string } ;
111114
112115 captured . projectUuid = body . project_uuid ?? '' ;
You can’t perform that action at this time.
0 commit comments