-
Notifications
You must be signed in to change notification settings - Fork 61
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
Updated delete organization endpoint functionality and implemented tests #1366
Updated delete organization endpoint functionality and implemented tests #1366
Conversation
There are a couple of conflicting files: |
Resolved |
LGTM! Good job. Let's get a code review. |
db/db.go
Outdated
|
||
func (db database) UpdateOrganizationForDeletion(uuid string) error { | ||
updates := map[string]interface{}{ | ||
"website": nil, |
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.
@AbdulWahab3181 change all nil
to empty strings ""
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.
Addressed
handlers/organization_test.go
Outdated
OwnerPubKey: "test-key", | ||
Website: nil, | ||
Github: nil, | ||
Description: nil, |
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.
@AbdulWahab3181 change all nil
to empty strings ""
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.
Follow Raph's advice here @AbdulWahab3181
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.
Addressed
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.
Nice work. Paid! |
Updated delete organization endpoint functionality and implemented tests
Updated delete organization endpoint functionality and implemented tests
Describe your changes
5d1cb6a7-b096-4779-b9a7-014ef28e5888.mp4
Issue ticket number and link
Closes #1334
Type of change
Please delete options that are not relevant.
Checklist before requesting a review