PDS Admin tool make it easier to moderate your PDS with labels

type-fix: assign default value for bool

authored by andresitorresm.com and committed by tangled.org e797bde2 5b12a4cc

+1 -1
+1 -1
src/handlers/handleNewLabel.ts
··· 148 break; 149 case "takedown": { 150 // Can be a successful takedown or not 151 - let takedownActionSucceededs: boolean; 152 153 if (pdsConfig.pdsAdminPassword) { 154 const rpc = new Client({
··· 148 break; 149 case "takedown": { 150 // Can be a successful takedown or not 151 + let takedownActionSucceededs: boolean = false; 152 153 if (pdsConfig.pdsAdminPassword) { 154 const rpc = new Client({