Skip to content

[Bug] Nested prefix collision on recommendations router #45

Description

@Jaswanth-006

Describe the Bug

The recommendations router in app/routers/recommendations.py is initialized with prefix="/recommendations".
However, in app/main.py, it is registered with prefix="/recommend".
This results in the endpoints being nested under /recommend/recommendations/... (e.g. /recommend/recommendations/faculty/students).

Expected Behavior

The prefix in the router configuration should be empty ("") so that routes are cleanly accessible under /recommend/....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions