Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
neilck committed Sep 26, 2023
1 parent 94d104f commit 3886fa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/common/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ function matchConditions(conditions, event) {
}

export async function getPermissionStatus(pubkey, host, type, event) {
console.log("getPermissionStatus calling readProfile: " + pubkey);
// console.log("getPermissionStatus calling readProfile: " + pubkey);
let profile = await readProfile(pubkey);
console.log("getPermissionStatus profile: " + JSON.stringify(profile));
// console.log("getPermissionStatus profile: " + JSON.stringify(profile));
// if profile exists
if (profile === null) {
throw Error("Profile does not exist " + pubkey);
}
let policies = profile.policies;
console.log("getPermissionStatus policies:" + JSON.stringify(policies));
// console.log("getPermissionStatus policies:" + JSON.stringify(policies));
let answers = [true, false];
for (let i = 0; i < answers.length; i++) {
let accept = answers[i];
Expand Down

0 comments on commit 3886fa1

Please sign in to comment.