Skip to content

Commit

Permalink
Enum value change
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonali Shakya authored and Sonali Shakya committed Dec 11, 2024
1 parent 69d8db8 commit 8191d76
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ public ResponseEntity<SessionDetails> getSessionById(@PathVariable String sessio
public boolean checkSessionById(@PathVariable String sessionId) {
return sessionDetailsService.checkSessionById(sessionId);
}

@Transactional
@PostMapping("/payload")
public ResponseEntity<SessionDetails> createPayload(@RequestBody Payload payload) {
SessionDetails sessionDetails = sdRepository.findBySessionId(payload.getSessionDetails().getSessionId())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public enum Type {
}

public enum Code {
METRO ("TRV:11");
TRV11 ("METRO");

public final String domainCode;

Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 8191d76

Please sign in to comment.