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

Commit

Permalink
Merge branch 'main' of github.com:UserUNP/activitysdk-ts
Browse files Browse the repository at this point in the history
  • Loading branch information
UserUNP committed Mar 16, 2023
2 parents 0848491 + 2d20a1f commit de3c771
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 de3c771

Please sign in to comment.