Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (29 loc) · 736 Bytes

File metadata and controls

34 lines (29 loc) · 736 Bytes

Actions

report(params)

Reports a problem to Deskbookers.

await deskbookers.actions.report({
  message: `This button ain't working!`,
  category: 'Bugs',
  browser: 'IE6',
  page: '/home',
  context: 'Provider mode',
  extras: [
    'day' => 'It was on a sunday',
    'weather' => 'It was rainy'
  ]
})

Arguments

Name Type Description Required
message String Problem message Yes
category String Problem category Yes
browser String Browser the problem occured in Yes
page String Page the problem occured Yes
context String Context in which problem occured Yes
extras Array Extra information about problem No

Example response

true