diff --git a/post.sh b/post.sh index 3c2e29d..0f08073 100644 --- a/post.sh +++ b/post.sh @@ -35,8 +35,7 @@ wget "${source_url}" 2> /dev/null || (echo "Error with ${source_url}" && exit 1) media_json=$(curl -X POST "${api_base_url}/api/v1/media" \ -H "Authorization: Bearer ${access_token}" \ - -F "file=@`ls *`" \ - -F "description=${source_url}") + -F "file=@`ls *`") media_id=$(jq -r ".id" <<< ${media_json})