Skip to content

Commit b591ce6

Browse files
author
Florentin
committed
Update README.md
1 parent cfd3951 commit b591ce6

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
@@ -137,7 +137,7 @@ client.permission.check({
137137
id: "3"
138138
}
139139
}).then((response) => {
140-
if (response.can === PermissionCheckResponse_Result.RESULT_ALLOWED) {
140+
if (response.can === permify.grpc.base.CheckResult.CHECK_RESULT_ALLOWED) {
141141
console.log("RESULT_ALLOWED")
142142
} else {
143143
console.log("RESULT_DENIED")

0 commit comments

Comments
 (0)