Skip to content

Commit

Permalink
upgrade versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ritosilva committed Nov 29, 2023
1 parent 07c1074 commit ee6d18d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.5</version>
<version>3.2.0</version>
<relativePath/>
</parent>
<groupId>pt.ulisboa.tecnico.socialsoftware</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private void writeQuestionAnswer(QuestionAnswer questionAnswer, List<StatementAn
.orElseThrow(() -> new TutorException(QUESTION_ANSWER_NOT_FOUND, questionAnswer.getId()));

questionAnswer.setTimeTaken(statementAnswerDto.getTimeTaken());
AnswerDetails answer = questionAnswer.setAnswerDetails(statementAnswerDto);
AnswerDetails answer = questionAnswer.setAnswerDetailsByStatementAnswerDto(statementAnswerDto);
if (answer != null) {
answerDetailsRepository.save(answer);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void setAnswerDetails(AnswerDetails answerDetails) {
}
}

public AnswerDetails setAnswerDetails(StatementAnswerDto statementAnswerDto) {
public AnswerDetails setAnswerDetailsByStatementAnswerDto(StatementAnswerDto statementAnswerDto) {
this.answerDetails = statementAnswerDto.getAnswerDetails(this);
if (this.answerDetails != null) {
this.answerDetails.setQuestionAnswer(this);
Expand Down
14 changes: 7 additions & 7 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"babel-jest": "~27.5.1",
"codecov": "~4.0.0-0",
"compression-webpack-plugin": "~10.0.0",
"cypress": "^13.5.1",
"cypress": "^13.6.0",
"eslint": "~8.39.0",
"eslint-plugin-prettier": "~4.2.1",
"eslint-plugin-vue": "~9.11.0",
Expand Down

0 comments on commit ee6d18d

Please sign in to comment.