some debug info

This commit is contained in:
Peter Hormanns 2021-09-14 19:09:10 +02:00
parent 19422f3827
commit bf39b135b2

View File

@ -26,7 +26,10 @@ public class ContactsAPI {
@GET
@Path("/{customer}")
public List<ContactVO> getContactsByMember(@PathParam("customer") String customer, @HeaderParam("Authorization") String ticket) throws UserException, TechnicalException {
public List<ContactVO> getContactsByMember(@PathParam("customer") String customer, @HeaderParam("X-HS-Auth") String ticket) throws UserException, TechnicalException {
System.out.println("customer: " + customer);
System.out.println("ticket: " + ticket);
System.out.println("LoginService: " + login);
RequestContext context = login.createContext(ticket, null);
ContactVO vo = new ContactVO();
vo.setCustomer(customer);