change whitelist to work with a JSON file

This commit is contained in:
Rana 2024-09-05 17:07:28 +01:00
parent 13a1cf3d50
commit 7b6fcdf650
Signed by: haroon
GPG key ID: 8B96C44DDF5756E4
4 changed files with 21 additions and 5 deletions

View file

@ -33,3 +33,11 @@ $ npm i
```
$ npx tsx .
```
6. (Optional) Rename `whitelist.example.json` to `whitelist.json` and fill it with Slack User IDs who apart from admins/owners/primary owners should be able to view other people's verification.
```json
[
"UA1B2C3D4E5",
"U0123456789"
]
```