From b591ce64235abda4fe2c0515540f13033b85bc90 Mon Sep 17 00:00:00 2001 From: Florentin Date: Wed, 25 Sep 2024 12:23:48 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f89791e..8ce7a6d 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ client.permission.check({ id: "3" } }).then((response) => { - if (response.can === PermissionCheckResponse_Result.RESULT_ALLOWED) { + if (response.can === permify.grpc.base.CheckResult.CHECK_RESULT_ALLOWED) { console.log("RESULT_ALLOWED") } else { console.log("RESULT_DENIED")