Open sibinhho99 opened 1 year ago
Cc:
Hi
(Via API)
Steps to reproduce the behavior:
In this line for show route we should use id instead of submission_similarity_id https://github.com/WING-NUS/SSID/blob/535e08aebddc0f8adab47e5db22369be34479d70/app/controllers/api/v1/submission_similarities_controller.rb#L62C19-L62C19
id
submission_similarity_id
In this line we should use rescue block for casework with a single render instead of calling multiple renders https://github.com/WING-NUS/SSID/blob/535e08aebddc0f8adab47e5db22369be34479d70/app/controllers/api/v1/submission_similarities_controller.rb#L23
Thanks!
Cc:
Hi
Describe the Bug
(Via API)
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
Tasks
Acceptance Criteria
More Information
In this line for show route we should use
id
instead ofsubmission_similarity_id
https://github.com/WING-NUS/SSID/blob/535e08aebddc0f8adab47e5db22369be34479d70/app/controllers/api/v1/submission_similarities_controller.rb#L62C19-L62C19In this line we should use rescue block for casework with a single render instead of calling multiple renders https://github.com/WING-NUS/SSID/blob/535e08aebddc0f8adab47e5db22369be34479d70/app/controllers/api/v1/submission_similarities_controller.rb#L23
Environment
Screenshots
Thanks!