Conversation
…gned on the users question
MwanPygmay
left a comment
There was a problem hiding this comment.
- Added support for people type
- Added support for people metadata
f74545f to
6602426
Compare
| true, | ||
| true | ||
| ); | ||
| return res.status(200).send(insertRecordsMessage); |
Check failure
Code scanning / CodeQL
Reflected cross-site scripting
| method: 'POST', | ||
| headers: this.axiosHeaders(), | ||
| data: { | ||
| query: metaQuery, |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
| } catch (err) { | ||
| // Specific try / catch so we can know what the error is | ||
| logger.error(err.message, { stack: err.stack }); | ||
| return res.status(500).send(err.message); |
Check warning
Code scanning / CodeQL
Exception text reinterpreted as HTML
| const duplicateRecords = await RecordModel.find({ | ||
| form: pullJob.convertTo, | ||
| $or: filters, | ||
| }).select(selectedFields); |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
Matthis-M-ReliefApps
left a comment
There was a problem hiding this comment.
Not a real review but please implement the filter as explained in latest comment on https://dev.azure.com/WHOHQ/EMSSAFE/_workitems/edit/74292
|
It has been implemented in the frontend to maintain the route generic |
|
@Matthis-M-ReliefApps @MwanPygmay I got some Axios errors when trying the feature, did you get some when testing on your side also? |
|
@AntoineRelief do you have the scope for common services? |
@MwanPygmay Doing the same request on Postman, I can get the data |
I remember I also had some requests errors when I tried to start a review on it last week |
Matthis-M-ReliefApps
left a comment
There was a problem hiding this comment.
Seems all good except for the hardcoded string
|
@Matthis-M-ReliefApps @MwanPygmay looking at it again, I can see it's not yet complete:
I can't merge it like that |

Description
In this PR the backend responds to the query GetPeople and send back some mock data
Useful links
Type of change
Screenshots
Checklist:
( * == Mandatory )