Magidoc

deleteTimesheetComment
Mutation

Used for removing existing comments in comment modal in "Timesheets" app.

Access: It requires user access.

Errors: Returns specific expected errors if: not deleted and not marked as history item timesheet doesn't exist, user trying to delete comment that he didn't create

Arguments

#

timesheetId

ID !
Non-null

timesheetsId with which comment is associated

isManager

variable to detect should managerComment be updated or creatorComment.

By default false

Response

#

Returns Timesheet .

Example

#

    
  

3

    
  

3

    
  

3