mirror of
https://github.com/plankanban/planka.git
synced 2025-07-20 05:39:43 +02:00
feat: Webhooks configuration, all events support, refactoring
This commit is contained in:
parent
3779bdb053
commit
c065566c15
96 changed files with 1280 additions and 509 deletions
14
server/api/helpers/utils/jsonify-record.js
Normal file
14
server/api/helpers/utils/jsonify-record.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
module.exports = {
|
||||
sync: true,
|
||||
|
||||
inputs: {
|
||||
record: {
|
||||
type: 'ref',
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
|
||||
fn(inputs) {
|
||||
return inputs.record.toJSON ? inputs.record.toJSON() : inputs.record;
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue