Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
Grievance
Commits
fa1ab12d
Unverified
Commit
fa1ab12d
authored
1 year ago
by
Radhesh.B.H
Committed by
GitHub
1 year ago
Browse files
Options
Download
Patches
Plain Diff
Update TicketController.java
Changed the response entity
parent
4f053b84
main
Escalate_ticket_send_mail_to_raiser
UAT
UPHRH_7903_mobile_otp
UPHRH_quartz_scheduler
admin_config_changes
github/fork/vky25/patch-1
shishir_dynamic_schedular
shishir_ticket_statistics_by_user
2 merge requests
!34
Uphrh 7903 mobile otp
,
!30
Template updated and system time updated
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/upsmf/grievance/controller/TicketController.java
+2
-2
...java/org/upsmf/grievance/controller/TicketController.java
with
2 additions
and
2 deletions
+2
-2
src/main/java/org/upsmf/grievance/controller/TicketController.java
+
2
−
2
View file @
fa1ab12d
...
...
@@ -24,7 +24,7 @@ public class TicketController {
private
AttachmentService
attachmentService
;
@PostMapping
(
"/save"
)
public
ResponseEntity
<
Ticket
>
save
(
@RequestBody
TicketRequest
ticketRequest
)
{
public
ResponseEntity
<
Response
>
save
(
@RequestBody
TicketRequest
ticketRequest
)
{
Ticket
responseTicket
=
null
;
try
{
responseTicket
=
ticketService
.
save
(
ticketRequest
);
...
...
@@ -33,7 +33,7 @@ public class TicketController {
throw
new
RuntimeException
(
e
.
getMessage
());
}
Response
response
=
new
Response
(
HttpStatus
.
OK
.
value
(),
responseTicket
);
return
new
ResponseEntity
<>(
response
Ticket
,
HttpStatus
.
OK
);
return
new
ResponseEntity
<
Response
>(
response
,
HttpStatus
.
OK
);
}
@PostMapping
(
"/update"
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets