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

fix: delete stream with name #121

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

EnriqueL8
Copy link
Contributor

@EnriqueL8 EnriqueL8 commented Jan 22, 2024

When deleting we add an IDFilter so that the SQL query results in DELETE FROM table WHERE ID = <value> in the case of deleting stream we were passing the nameOrID to that SQL query and it was failing when we passed the name. Since we retrieve the value from the DB before deleting we can just pass in the ID to delete

Signed-off-by: Enrique Lacal <[email protected]>
Copy link
Contributor

@peterbroadhurst peterbroadhurst left a comment

Choose a reason for hiding this comment

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

Change looks great thanks @EnriqueL8 - one small build issue to address before merge.

Signed-off-by: Enrique Lacal <[email protected]>
@peterbroadhurst peterbroadhurst merged commit 5b53a57 into hyperledger:main Jan 23, 2024
2 checks passed
@peterbroadhurst peterbroadhurst deleted the fix_delete_stream branch January 23, 2024 19:47
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