Skip to content

Commit 3628523

Browse files
fix: use PASS
1 parent 3d0a202 commit 3628523

File tree

1 file changed

+1
-1
lines changed
  • src/typegate/src/runtimes/deno

1 file changed

+1
-1
lines changed

src/typegate/src/runtimes/deno/deno.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const predefinedFuncs: Record<
4646
internal_policy:
4747
() =>
4848
({ _: { context } }): PolicyResolverOutput =>
49-
context.provider === "internal" ? "ALLOW" : "DENY",
49+
context.provider === "internal" ? "PASS" : "DENY",
5050
context_check: ({ key, value }) => {
5151
let check: (value: any) => boolean;
5252
switch (value.type) {

0 commit comments

Comments
 (0)