Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not reply a thread #9

Closed
phenomenalDenzel opened this issue Dec 10, 2020 · 2 comments
Closed

Can not reply a thread #9

phenomenalDenzel opened this issue Dec 10, 2020 · 2 comments

Comments

@phenomenalDenzel
Copy link

How to reproduce
I created a ticket using the API
Screenshot from 2020-12-10 19-20-04

I made a post request http://localhost:8000/api/v1/ticket/1/thread to reply the thread, and below is the body
{ "message":"why should I Help you", "actAsType":"customer", "actAsEmail":"emeka@gmail.com", "threadType":"reply" }
This is the response and no error message in the terminal
{ "status": false, "message": "An unexpected error occurred. Please try again later." }

@papnoisanjeev
Copy link
Contributor

@phenomenalDenzel

We have fixed it for master branch please update your code as done in below link in your project.

Locate path in your project:
vendor->uvdesk->api-bundle->API->Threads.php

Open Threads.php and update code under saveThread() function.
and update code as done same in below link replace $customer by $user

ee90d35

@papnoisanjeev
Copy link
Contributor

@phenomenalDenzel,

We are closing it you can solve it by above given solution.
If still exist you can reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants