-
Notifications
You must be signed in to change notification settings - Fork 108
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
feat: add edit event feature #601
Conversation
@suzy-g38 is attempting to deploy a commit to the Vibey Team on Vercel. A member of the Team first needs to authorize it. |
Thank you, @suzy-g38, for creating this pull request and contributing to GitHub-ReadMe! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for creating a pull request for vibey!
We appreciate your contribution and are excited to review your changes. If you have any questions or need additional information, please don't hesitate to let us know. We look forward to working with you to improve vibey. Thanks again for your support!If you want to keep contributing to open source and want to do it with a supportive and inclusive community, consider joining UniKonf. We help and encourage each other to make regular contributions to open source projects. If you have any questions, do not hesitate to ask. We look forward to having you as part of our community!
const response = await fetch( | ||
`${ | ||
process.env.NEXT_PUBLIC_API_ENDPOINT as string | ||
}/api/events/update/${id}`, | ||
{ | ||
method: 'post', | ||
body: JSON.stringify(object), | ||
headers: { | ||
'Content-type': 'application/json', | ||
}, | ||
} | ||
).then((r) => { |
Check failure
Code scanning / CodeQL
Server-side request forgery Critical
URL
user-provided value
const response = await fetch( | ||
`${process.env.NEXT_PUBLIC_API_ENDPOINT}/api/events/id/${id}`, | ||
{ | ||
method: 'get', | ||
headers: { | ||
'Content-type': 'application/json', | ||
}, | ||
} | ||
).then((resp) => { |
Check failure
Code scanning / CodeQL
Server-side request forgery Critical
URL
user-provided value
const response = await fetch( | ||
`http://localhost:5000/api/events/id/${id}` | ||
).then((res) => res.json()); |
Check failure
Code scanning / CodeQL
Server-side request forgery Critical
URL
user-provided value
@Deepu178 I have resolved the conflicts |
Related Issue
Closes: #600
Describe the changes you've made
Add edit feature for events
Type of change
What sort of change have you made:
How Has This Been Tested?
Checklist
Screenshots (if applicable)
Code of Conduct