Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
UserUNP committed Mar 16, 2023
1 parent a9e23a3 commit 2d20a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const sdk = new ActivitySDK("app id");
sdk.on("READY", async () => {
let user;
try {
user = (await sdk.commands.authenticate("app secret", ["identify"])).user;
user = (await sdk.login("app secret", ["identify"])).user;
} catch (e) {
console.error("could not authorize/authenticate");
return;
Expand Down

0 comments on commit 2d20a1f

Please sign in to comment.