Skip to content

Commit

Permalink
docs: correct canister name in README
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Jun 26, 2023
1 parent 43622ad commit b1d36ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ic-management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ The features are available through the class `ICMgmtCanister`. It has to be inst
e.g. fetching a token metadata.

```ts
import { ICMgmtCanister } from "@dfinity/ic-management";
import { ICManagementCanister } from "@dfinity/ic-management";
import { createAgent } from "@dfinity/utils";

const agent = await createAgent({
identity,
host: HOST,
});

const { canisterStatus } = ICMgmtCanister.create({
const { canisterStatus } = ICManagementCanister.create({
agent,
});

Expand Down

0 comments on commit b1d36ed

Please sign in to comment.