How to use service inside a another service #7347
|
I have created 2 services. UserService and RoleService. Now from UserService I want to call RoleService functions. So in UserService constructor I am using @service. It is booting up my api server but when I am calling any api end point it is throwing error. Thanks in advance. |
Answered by
raymondfeng
Apr 2, 2021
Replies: 1 comment 8 replies
|
What error do you see? |
8 replies
Answer selected by
arijit04
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What error do you see?