Fixing get-gallery method

id wasn't set in this action