Skip to content

Commit

Permalink
Wrong response for service request /v1/provide-mac-table-of-specific-…
Browse files Browse the repository at this point in the history
…device

Fixes #154
  • Loading branch information
schiavi-siae committed Nov 28, 2023
1 parent 4e617ae commit 6fd4240
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/service/IndividualServicesService.js
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ const PromptForProvidingAllMacTablesCausesReadingFromElasticSearch = async funct
const source = hit._source['mac-address'];

for (const element of source) {
element["time-stamp-of-data"] = formatTimestamp(element["time-stamp-of-data"]);
response['application/json'].push(element);
}
}
Expand Down

0 comments on commit 6fd4240

Please sign in to comment.