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

edited tokenformat, updated apiUrl, updated appdata with companyId #1089

Conversation

Nightfox77
Copy link

Title

User cannot add listing - if you visit the site as a company #1070
[https://github.com//issues/1070]

Describe your changes:

  • updated the tokenformat
  • updated apiUrl for creating a listing
  • changed appData - company from companyName to comapnyId

Type of changes:

  • in getToken.js i removed the extra quotes around the token so that the API can accept the token when submitted
  • in create.js i imported the headers function from header.js and incorperated it in the api call
  • i also edited the Url used for the api call
  • in createListing.js i changes appData company: from companyName to companyId as shown in the api documentation

Checklist before requesting a review

  • I created a new branch before starting with this ticket?
  • I commented the issue after finish in the Frontend Team Board?
  • I moved the card to Quality Assurance after finish?

Feedback

  • Yes, I want feedback.

@Nightfox77
Copy link
Author

@johnsulf
Can you check my PR

@Nightfox77 Nightfox77 closed this Nov 27, 2024
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

Successfully merging this pull request may close these issues.

1 participant