Expect only one format from our API

What are we, LLMs?
This commit is contained in:
Eli Ribble 2026-03-20 18:29:29 +00:00
parent 3c26ebdaf2
commit 067465ab35
No known key found for this signature in database

View file

@ -100,7 +100,7 @@
}
const data = await response.json();
this.communications = data.communications || data; // Handle different response formats
this.communications = data.communications;
// if we already had something selected, reset it using the new data
if (this.selectedCommunication) {
const matching = this.communications.filter((report) => {