Skip to content

Commit

Permalink
Merge pull request #7 from nick-ching23/TestDB
Browse files Browse the repository at this point in the history
Fixed minor issues with service logic
  • Loading branch information
nl2878 authored Oct 6, 2024
2 parents c02e206 + 54ce473 commit 8872bae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class VeritasService {

public ResponseEntity<?> checkText(String text) {
//This should be calling the OpenAI API, change return val
return new ResponseEntity<>(null, HttpStatus.OK);
return new ResponseEntity<>(0, HttpStatus.OK);
}

public ResponseEntity<?> checkTextUser(String text, String userID, String orgID) {
Expand Down
3 changes: 3 additions & 0 deletions veritas/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ server:
address: 0.0.0.0
port: 8080

mybatis-plus:
configuration:
map-underscore-to-camel-case: false

spring:
application:
Expand Down

0 comments on commit 8872bae

Please sign in to comment.