Skip to content

Commit 7eea74c

Browse files
authored
MISC: code cleanup (QuestionEditor.vue)
1 parent 54bd6a3 commit 7eea74c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vite-frontend/src/views/QuestionEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default {
6868
const endpoint = `${endpoints["questionsCRUD"]}${to.params.slug}/`;
6969
try {
7070
const response = await axios.get(endpoint);
71-
return next((vm) => (vm.questionBody = response.data.content));
71+
return next(vm => vm.questionBody = response.data.content);
7272
} catch (error) {
7373
console.log(error.response);
7474
alert(error.response.statusText);

0 commit comments

Comments
 (0)