mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
parent
65b5c5cc9f
commit
df2ded28a7
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ export function workpad(server) {
|
|||
const savedObjectsClient = req.getSavedObjectsClient();
|
||||
|
||||
if (!req.payload) {
|
||||
return Promise.resolve(boom.badRequest('A workpad payload is required'));
|
||||
return Promise.reject(boom.badRequest('A workpad payload is required'));
|
||||
}
|
||||
|
||||
const now = new Date().toISOString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue