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: isBot return string for postman instead of boolean value #168

Open
shiv-source opened this issue Dec 18, 2023 · 1 comment
Open

bug: isBot return string for postman instead of boolean value #168

shiv-source opened this issue Dec 18, 2023 · 1 comment

Comments

@shiv-source
Copy link

shiv-source commented Dec 18, 2023

Summary

isBot return string for postman instead of boolean value

Description

express-useragent = 1.0.15

isBot property return postman as a string instead of boolean value.

Image 2023-12-18 at 16 02 00

Expected Behaviour

isBot should return either true or false ( a boolean value only )

Additional Details

Please have look on this Details interface of userAgent

Screenshot from 2023-12-18 16-06-58

@zaksiu12s
Copy link

yea, same issue here, I just changed Details interface for isBot to be string | boolean

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

No branches or pull requests

3 participants
@shiv-source @zaksiu12s and others