mirror of
https://github.com/alexgo-io/stacks.js.git
synced 2026-01-12 17:52:41 +08:00
fix: syntax in migration guide
This commit is contained in:
@@ -93,7 +93,7 @@ import { Storage } from '@stacks/storage';
|
||||
|
||||
const appConfig = new AppConfig();
|
||||
const userSession = new UserSession({ appConfig });
|
||||
const storage = new Storage(userSession);
|
||||
const storage = new Storage({userSession});
|
||||
|
||||
storage.putFile('my_file.json', my_content));
|
||||
storage.getFile('my_file.json').then((file) => {
|
||||
|
||||
Reference in New Issue
Block a user