Skip to content

Commit

Permalink
Update rust/regorule-library/src/userinfo/v1.rego
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Bernauer <[email protected]>
  • Loading branch information
nightkr and sbernauer authored Aug 6, 2024
1 parent b8a9b0a commit 548422b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rust/regorule-library/src/userinfo/v1.rego
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,3 @@ userInfoById(id) := http.send({
"headers": {"Content-Type": "application/json"},
"raise_error": true
}).body

# Lookup by context
currentUserInfoByUsername := userInfoByUsername(input.username)
currentUserInfoById := userInfoById(input.id)

0 comments on commit 548422b

Please sign in to comment.