avantifellows / avantifellows/reporting

fix verify_token function to return bool value

Open
#52 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
5
Avg merge
1m
Merged PRs (30d)
3

Description

Return Type: The function is declared to return a bool, but you're returning a token string when the token is valid. You should change the return type to str or update your return logic.

Contributor guide

No contributing guide indexed for this repository

Research direction

Search for the verify_token function and inspect its return annotation, current return paths, and any callers or tests. Confirm whether the intended contract is a boolean, then update the implementation or annotation consistently and verify that valid-token behavior matches the declared return type.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.