Skip to content

Allow DELETE method for bed endpoint#815

Merged
vigneshhari merged 1 commit into
ohcnetwork:masterfrom
Ashesh3:bed-delete
Jun 6, 2022
Merged

Allow DELETE method for bed endpoint#815
vigneshhari merged 1 commit into
ohcnetwork:masterfrom
Ashesh3:bed-delete

Conversation

@Ashesh3
Copy link
Copy Markdown
Contributor

@Ashesh3 Ashesh3 commented Jun 3, 2022

Basically allows bed to be deleted. Adds the DestroyModelMixin to the BedViewSet and custom define the destroy method

@Ashesh3 Ashesh3 requested a review from a team as a code owner June 3, 2022 14:23
@sainak sainak changed the title Delete bed endpoint Allow DELETE method for bed endpoint Jun 4, 2022
Copy link
Copy Markdown
Contributor

@Marmik2003 Marmik2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks ok

Copy link
Copy Markdown
Member

@vigneshhari vigneshhari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Untested.

@vigneshhari vigneshhari merged commit 19dd180 into ohcnetwork:master Jun 6, 2022
@Ashesh3 Ashesh3 deleted the bed-delete branch June 6, 2022 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants