Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Add filter of args in account:get command #593

Merged
merged 2 commits into from
Aug 3, 2018
Merged

Conversation

shuse2
Copy link
Contributor

@shuse2 shuse2 commented Aug 3, 2018

What was the problem?

When the command had trailing comma, it was causing error from the API

How did I fix it?

Add filter after splitting the args

How to test it?

lisk account:get 123L,

Review checklist

@shuse2 shuse2 self-assigned this Aug 3, 2018
@shuse2 shuse2 requested a review from willclarktech August 3, 2018 13:04
{
query: {
limit: 1,
address: addresses[0],
Copy link
Contributor

Choose a reason for hiding this comment

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

It's the same thing, but would make more sense if these were both addressesWithEmpty[0]. Probably also applies to the blocks test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🤕

@shuse2 shuse2 merged commit d28bd13 into 2.0.0 Aug 3, 2018
@shuse2 shuse2 deleted the 592-add_accounts_filter branch August 3, 2018 13:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants