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

🐛 [BUG] - Cannot set groupImage to null with updateGroupProfile function #944

Closed
gbogboadePush opened this issue Dec 20, 2023 · 0 comments · Fixed by #1118
Closed

🐛 [BUG] - Cannot set groupImage to null with updateGroupProfile function #944

gbogboadePush opened this issue Dec 20, 2023 · 0 comments · Fixed by #1118
Assignees
Labels
bug Something isn't working

Comments

@gbogboadePush
Copy link
Collaborator

Expected Behaviour

The updateGroupProfile should not return an error when groupImage is equal to null and the group profile should update all the fields with data provided

Current Behaviour

The error below is returned when null is passed as value for groupImage

{"statusCode":400,"error":"Bad Request","message":"Validation failed","validation":{"body":{"source":"body","keys":["groupImage"],"message":"\"groupImage\" must be a string"}}}

Reproduction steps

1. Invoke updateGroupProfile function with groupImage = null
3. See error

Screenshots

No response

Relevant Logs

No response

Dapp Env

Staging (staging.push.org)

Browsers

No response

@gbogboadePush gbogboadePush added the bug Something isn't working label Dec 20, 2023
@Aman035 Aman035 self-assigned this Feb 19, 2024
@Aman035 Aman035 linked a pull request Feb 20, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants