-
Notifications
You must be signed in to change notification settings - Fork 0
Task delete api #196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Task delete api #196
Conversation
|
pecha_api/plans/response_message.py
Outdated
EMAIL_IS_SENT = "Email is sent. Please check your email to verify your account." | ||
|
||
TASK_NOT_FOUND = "Task not found" | ||
TASK_DELETE_SUCCESS = "Task deleted successfully" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this key since it is not used
) | ||
) | ||
|
||
async def delete_task_by_id(task_id: UUID, token: str): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deleting of the selected task should also delete all the subtasks below it.
No description provided.