diced / zipline

A ShareX/file upload server that is easy to use, packed with features, and with an easy setup!
https://zipline.diced.sh/
MIT License
1.31k stars 128 forks source link

fix: proper json parsing in flameshot script #575

Closed MateiSR closed 1 month ago

MateiSR commented 1 month ago

This PR fixes the JSON parsing in the example Flameshot script. The previous example would just return a jq compile error:

jq: error: files/0 is not defined at <top-level>, line 1:
files[0].url
jq: 1 compile error