Skip to content

[Refactor] Remove duplicate create_opening route in dashboard router #46

Description

@Jaswanth-006

Description

The route for posting openings is defined twice:

  1. In app/routers/dashboard.py as POST /faculty/opening
  2. In app/routers/openings.py as POST / (under prefix /openings)

This duplication leads to code drift and redundant database queries.

Expected Behavior

The duplicate route in dashboard.py should be removed, and the frontend should use the unified openings router endpoint.

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