Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F10359862
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
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)
Attached To
Mode
rNPN n8n-phabricator-node
Attached
Detach File
Event Timeline
Log In to Comment