PCSP-DevSolutions / .github

0 stars 0 forks source link

bug Request #17

Closed pcsp-api closed 2 months ago

pcsp-api commented 2 months ago

Department: Shipping Priority: low priority Request Details: a

Attachments:

table.jpg

Arescyn1 commented 2 months ago

Idk if what you're trying to do is get the images to work when user reports a bug and attaches an image to the report on your API, but you could try embedding it into the markdown

"" Alt text ""

with open("pic.jpg", "rb") as image_file: BASE64_STRING = base64.b64encode(image_file.read()).decode("utf-8")

Arescyn1 commented 2 months ago

![Alt text](data:image/jpeg;base64,BASE64_STRING)

matt-lassila commented 2 months ago

No, although embedding it is a good idea. This happened due to a missing environment variable