Skip to content

Conversation

@siiddhantt
Copy link
Contributor

Description

Example listed in https://github.com/openfga/js-sdk/blob/main/README.md#client-credentials did not work as is because CredentialsMethod was not being imported.

References

Review Checklist

@siiddhantt siiddhantt requested a review from a team as a code owner October 7, 2024 06:21
Copy link
Member

@ewanharris ewanharris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @siiddhantt!

Along with the comment I left, could we also update the statements on line 20 to include this import

@siiddhantt
Copy link
Contributor Author

hi @ewanharris , added the suggested changes!

@siiddhantt siiddhantt requested a review from ewanharris October 9, 2024 20:55
Copy link
Member

@ewanharris ewanharris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @siiddhantt!

@ewanharris ewanharris added this pull request to the merge queue Oct 10, 2024
@ewanharris ewanharris removed this pull request from the merge queue due to a manual request Oct 10, 2024
@ewanharris ewanharris changed the title fix: missing import in ClientCredentials example docs: missing import in ClientCredentials example Oct 10, 2024
@ewanharris ewanharris added this pull request to the merge queue Oct 10, 2024
Merged via the queue into openfga:main with commit 120d1c7 Oct 10, 2024
11 checks passed
@siiddhantt siiddhantt deleted the fix/js-example branch October 11, 2024 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NodeJS] README.md missing import in Client Credentials example

2 participants