Skip to content

Commit 0a5b7ae

Browse files
authored
Merge pull request #98 from FlorentinLedy/main
Update README.md
2 parents ce1bdb7 + b591ce6 commit 0a5b7ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ client.permission.check({
142142
id: "3"
143143
}
144144
}).then((response) => {
145-
if (response.can === PermissionCheckResponse_Result.RESULT_ALLOWED) {
145+
if (response.can === permify.grpc.base.CheckResult.CHECK_RESULT_ALLOWED) {
146146
console.log("RESULT_ALLOWED")
147147
} else {
148148
console.log("RESULT_DENIED")

0 commit comments

Comments
 (0)