Fix bug in delete task endpoint

Assignment now have a uuid instead of an id