Fix bug in delete task endpoint

Assignment now have a uuid instead of an id
Merge pull request #161 from guidow/bugfix_task_delete

Fix bug in delete task endpoint