Page MenuHomeSealhub

No OneTemporary

diff --git a/nodes/Phabricator/Phabricator.node.ts b/nodes/Phabricator/Phabricator.node.ts
index 1a10b57..fff0286 100644
--- a/nodes/Phabricator/Phabricator.node.ts
+++ b/nodes/Phabricator/Phabricator.node.ts
@@ -1,62 +1,62 @@
import { INodeType, INodeTypeDescription } from 'n8n-workflow';
import methods from './methods';
export class Phabricator implements INodeType {
description: INodeTypeDescription = {
displayName: 'Phabricator',
name: 'phabricator',
icon: 'file:phabricator.svg',
group: ['transform'],
version: 1,
subtitle: '={{$parameter["method"]}}',
description: 'Interact with Phabricator',
defaults: {
name: 'Phabricator',
},
inputs: ['main'],
outputs: ['main'],
credentials: [
{
name: 'phabricatorApi',
required: true,
},
],
requestDefaults: {
- url: '',
+ baseURL: 'https://hub.sealcode.org',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
},
},
/**
* In the properties array we have two mandatory options objects required
*
* [Resource & Operation]
*
* https://docs.n8n.io/integrations/creating-nodes/code/create-first-node/#resources-and-operations
*
* In our example, the operations are separated into their own file (HTTPVerbDescription.ts)
* to keep this class easy to read.
*
*/
properties: [
{
displayName: 'Method',
name: 'method',
type: 'options',
noDataExpression: true,
options: methods.map((e) => ({
name: e,
value: e,
routing: {
request: {
method: 'POST',
url: '={{$parameter["method"]}}',
},
},
})),
default: 'user.whoami',
},
],
};
}

File Metadata

Mime Type
text/x-diff
Expires
Sat, Nov 8, 02:41 (16 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1033941
Default Alt Text
(1 KB)

Event Timeline