amanjiofficial / tenjint-flask

Flask Web API for Tenjint Project
GNU General Public License v2.0
3 stars 10 forks source link

Pass length parameter to range #10

Closed DavidBanda closed 3 years ago

amanjiofficial commented 3 years ago

Pass the Length parameter wherever the function generate_token is being called.

DavidBanda commented 3 years ago

Can you give me more information

amanjiofficial commented 3 years ago

The function generate_token is called in various statements in the code. We need to pass the length parameter in the function call as well. If you still have any doubt feel free to ask @DavidBanda.

DavidBanda commented 3 years ago

Ok,I get to work on it

DavidBanda commented 3 years ago

Done!

amanjiofficial commented 3 years ago

It will be great if you can add unit test as well. @DavidBanda

amanjiofficial commented 3 years ago

@DavidBanda any update?

DavidBanda commented 3 years ago

Sorry, I've been busy, can I use doctest?

amanjiofficial commented 3 years ago

I will merge this pull request and then if you want you can write unit test and create new PR

DavidBanda commented 3 years ago

Sounds good!