mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
! -> ?.
This commit is contained in:
parent
323e425e8b
commit
c017770760
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ async function renderAdminReport(reportEvent: DittoEvent, opts: RenderAdminRepor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const reportedPubkey = reportEvent.tags.find(([name]) => name === 'p')![1];
|
const reportedPubkey = reportEvent.tags.find(([name]) => name === 'p')?.[1];
|
||||||
if (!reportedPubkey) {
|
if (!reportedPubkey) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue