job in accompanying course: fix error in setting job property

This commit is contained in:
nobohan 2022-01-19 14:01:50 +01:00
parent 74e94637b9
commit 9b5990916f

View File

@ -675,7 +675,7 @@ let initPromise = Promise.all([scopesPromise, accompanyingCoursePromise])
return makeFetch('PATCH', url, body)
.then((response) => {
commit('updateJob', response.user);
commit('updateJob', response.job);
})
.catch((error) => {
commit('catchError', error);