Currently the update action in L33-L53 of send_create_image_request fetches the image and the credentials from the changeset. This should not work, the correct approach is to use Ash.Changeset.fetch_argument (see send_create_deployment L38-L39). Moreover the action in device.ex L244-L260 should not need the image credentials as they can be fetched from the Image argument itself
Currently the update action in L33-L53 of
send_create_image_request
fetches the image and the credentials from the changeset. This should not work, the correct approach is to useAsh.Changeset.fetch_argument
(seesend_create_deployment
L38-L39). Moreover the action indevice.ex
L244-L260 should not need the image credentials as they can be fetched from theImage
argument itself