Skip to content

Commit

Permalink
update: app example api creation
Browse files Browse the repository at this point in the history
  • Loading branch information
clostao committed Jan 23, 2025
1 parent d598652 commit 6c72002
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/auto-drive-create-next-app/export.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { createAutoDriveApi, uploadFolderFromFolderPath } from '@autonomys/auto-drive'
import { NetworkId } from '@autonomys/auto-utils'
import path from 'path'
import { fileURLToPath } from 'url'

Expand All @@ -16,7 +17,7 @@ async function uploadBuild() {
process.exit(1)
}

const api = createAutoDriveApi({ apiKey })
const api = createAutoDriveApi({ apiKey, network: NetworkId.TAURUS })
const outDir = path.join(__dirname, 'out')

try {
Expand Down

0 comments on commit 6c72002

Please sign in to comment.