File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/app/src/cli/services Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import { BulkOperationRunQuery , BulkOperationRunQuerySchema } from '../api/graphql/bulk_operation_run_query.js'
22import { adminRequest } from '@shopify/cli-kit/node/api/admin'
3- import { AdminSession , ensureAuthenticatedAdmin } from '@shopify/cli-kit/node/session'
3+ import { ensureAuthenticatedAdmin } from '@shopify/cli-kit/node/session'
44
55interface BulkOperationRunQueryOptions {
66 storeFqdn : string
@@ -18,7 +18,7 @@ export async function runBulkOperationQuery(
1818 options : BulkOperationRunQueryOptions ,
1919) : Promise < { result ?: BulkOperationResult ; errors ?: BulkOperationError [ ] } > {
2020 const { storeFqdn, query} = options
21- const adminSession : AdminSession = await ensureAuthenticatedAdmin ( storeFqdn )
21+ const adminSession = await ensureAuthenticatedAdmin ( storeFqdn )
2222 const response : BulkOperationRunQuerySchema = await adminRequest ( BulkOperationRunQuery , adminSession , { query} )
2323
2424 if ( response . bulkOperationRunQuery . userErrors . length > 0 ) {
You can’t perform that action at this time.
0 commit comments