Skip to content

Conversation

@vikasbolla
Copy link
Collaborator

@vikasbolla vikasbolla commented Jan 8, 2026

Fixes- #25
Screenshot 2026-01-08 at 17 25 26

c.JSON(http.StatusBadRequest, gin.H{"error": "You have already requested to extend service expiry"})
return
}
if requestedDate.Before(request.ServiceExpiry.Expiry) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current service-expiry must be fetched from service object and not db.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made the changes, thanks!!

@vikasbolla vikasbolla force-pushed the fix_expiry branch 2 times, most recently from fdceefd to 0911e2f Compare January 9, 2026 12:12
Copy link
Collaborator

@srivastav-abhishek srivastav-abhishek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vikasbolla vikasbolla merged commit 009bb87 into IBM:main Jan 19, 2026
9 checks passed
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.

2 participants