Skip to content

Remove unused notifications routes from jobs.py #2986

@heyitsmebev

Description

@heyitsmebev

It doesn't look like these routes are being used anywhere. They seem outdated and should be removed from our codebase to make things less confusing and cleaner.

Possibly routes to remove:

@main.route("/services/<uuid:service_id>/notifications" , methods=["GET", "POST"]) 

@main.route( "/services/<uuid:service_id>/notifications/<template_type:message_type>", methods=["GET", "POST"], ) 

@main.route("/services/<uuid:service_id>/notifications. json", methods=["GET", "POST"]) 

@main.route( "/services/<uuid:service_id>/notifications/<template_type:message_type>.json", methods=["GET", "POST"], ) 

@main.route( "/services/<uuid:service_id>/notifications.csv", endpoint="view_notifications_csv" ) 

@main.route( "/services/<uuid:service_id>/notifications/<template_type:message_type>.csv", endpoint="view_notifications_csv", )

And remove views/notifications.html 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions