Closed n-akram closed 4 years ago
Currently the "Invalid link" error is only thrown when the the id is not found in the link.
However, we need to take into account the deleted, or removed videos. Which still might contain valid link.
https://github.com/kumar-shridhar/APOLLO-1/blob/4f74de9aa894d663f3159d7f2d9f3b753c1fdf54/apollo/Frontend/app.py#L96
At this, I suggest to use error message to convey error.
https://github.com/kumar-shridhar/APOLLO-1/blob/4f74de9aa894d663f3159d7f2d9f3b753c1fdf54/apollo/Frontend/app.py#L43
before next line.
This case is also fixed and tested in in refactor branch and merged into master. Please open the issue if anyone is face this error again.
Currently the "Invalid link" error is only thrown when the the id is not found in the link.
However, we need to take into account the deleted, or removed videos. Which still might contain valid link.
https://github.com/kumar-shridhar/APOLLO-1/blob/4f74de9aa894d663f3159d7f2d9f3b753c1fdf54/apollo/Frontend/app.py#L96
At this, I suggest to use error message to convey error.
https://github.com/kumar-shridhar/APOLLO-1/blob/4f74de9aa894d663f3159d7f2d9f3b753c1fdf54/apollo/Frontend/app.py#L43
before next line.