Skip to content

Commit

Permalink
fix: typo in retrieving congregation expiry hours
Browse files Browse the repository at this point in the history
  • Loading branch information
rimorin committed Sep 16, 2024
1 parent 6ed3971 commit b52861c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -935,8 +935,8 @@ function Admin({ user }: adminProps) {
}
const congregationDetails = snapshot.val();
const congName = congregationDetails["name"] as string;
const expireHours =
congregationDetails["expireHours"] || DEFAULT_SELF_DESTRUCT_HOURS;
const expiryHours =
congregationDetails["expiryHours"] || DEFAULT_SELF_DESTRUCT_HOURS;
const maxTries =
congregationDetails["maxTries"] || DEFAULT_CONGREGATION_MAX_TRIES;
const options = processOptions(
Expand All @@ -954,7 +954,7 @@ function Admin({ user }: adminProps) {

document.title = congName;
setName(congName);
setDefaultExpiryHours(expireHours);
setDefaultExpiryHours(expiryHours);
setOptions(options);
setPolicy(
new Policy(
Expand Down

0 comments on commit b52861c

Please sign in to comment.