-
Notifications
You must be signed in to change notification settings - Fork 554
fix: Use event ID in favorite remove API call #2346
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
Conversation
app/build.gradle
Outdated
aaptOptions { | ||
cruncherEnabled = false | ||
} | ||
buildToolsVersion = '29.0.2' |
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.
Why?
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.
That got changed automatically
when i was setting up the project on my system .
Should i remove it ?
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.
yes
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.
Please revert unnecessary changes
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.
Squash your commits as well. Try to keep 1 commit/PR. Follow Harshit request and rest is good
@ranjsa Build is failing. Always check for spotless before commit using |
Please see titles of other PRs and follow same semantics See the body |
|
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.
Okay, so now you removed the whole manifest file.
|
@liveHarshit 😅 No , Sorry actually there was a conflict and by mistake i deleted that file but i put that back again and resolved the conflicts ... |
Have you read this? #2346 (comment) Has been posted 2 times now |
<data | ||
android:pathPrefix="/reset-password"/> | ||
<data | ||
android:pathPrefix="/email"/> |
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.
?
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.
This just got added up from my repository unknowingly So i removed it .
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.
Revert it!
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.
This just got added up from my repository unknowingly So i removed it .
I wish magic existed in real world, but nothing gets added unknowingly
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.
Done 👍
|
Still not correct and tests are failing |
@iamareebjamal Should I remove everything from body except gif file , Will that be fine ? |
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.
Try rebasing and squashing your commits
@nikit19 OK doing it |
android:pathPrefix="/reset-password"/> | ||
<data | ||
android:pathPrefix="/email"/> | ||
|
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.
Do not commit this file at all.
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.
Actually before sending PR I pulled all the changes from upstream , So thats why it got added up
What should i do Now ?
|
||
fun addFavorite(favoriteEvent: FavoriteEvent, event: Event) = | ||
favoriteEventApi.addFavorite(favoriteEvent).map { | ||
|
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.
extra
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.
Ok I will remove that extra space
Your title is not according to standards. Please carefully look at other titles |
Never make PRs from development branch. Always create a new branch for each PR |
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.
Always follow the commit guidelines: http://chris.beams.io/posts/git-commit/
Fixes #2183
Changes: [Before - for removing favourite event it was passing favoriteEventId so that it was showing error "Object not found"
After - In open-event-api-dev.herokuapp for deleteing a favourite event it is expecting event.id , So I change favouriteEventId to event.id And now it is able to remove favourite events successfully. ]
Screenshots for the change:
