Replies: 1 comment
-
@virgileJT thanks for reporting, transferred this to an issue and I'll check it out. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can't have the attachment (image) properly displayed in the FO, but get a 401 "Missing Authorization Header" error.
So far, I can see the BO requires a token
backend/bot/api/routes/iincident.py l147 :
@jwt_required()
def get_delete_item_by_id(incident_id, id):
but there is no token sent when displaying the picture on the FO
frontend/src/incident/Signle-incidents.js l678 :
{imgData.map((item) => (
I don't know what is the good practice here, maybe rewrite the REACT part to get attachments one by one ?
Beta Was this translation helpful? Give feedback.
All reactions