mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
⚡ Fix build
This commit is contained in:
parent
ea0482c8e3
commit
120a8eec09
|
@ -342,7 +342,7 @@ export async function getFields(
|
|||
}
|
||||
|
||||
function getModuleName(resource: string) {
|
||||
return {
|
||||
const map: { [key: string]: string } = {
|
||||
account: 'Accounts',
|
||||
contact: 'Contacts',
|
||||
deal: 'Deals',
|
||||
|
@ -353,7 +353,9 @@ function getModuleName(resource: string) {
|
|||
salesOrder: 'Sales_Orders',
|
||||
vendor: 'Vendors',
|
||||
quote: 'Quotes',
|
||||
}[resource];
|
||||
};
|
||||
|
||||
return map[resource];
|
||||
}
|
||||
|
||||
export async function getPicklistOptions(
|
||||
|
|
Loading…
Reference in a new issue