mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Run lintfix (no-changelog) (#7537)
- Fix autofixable violations - Remove unused directives - Allow for PascalCased variables - needed for dynamically imported or assigned classes, decorators, routers, etc.
This commit is contained in:
@@ -60,10 +60,7 @@ export async function jiraSoftwareCloudApiRequest(
|
||||
try {
|
||||
return await this.helpers.requestWithAuthentication.call(this, credentialType, options);
|
||||
} catch (error) {
|
||||
if (
|
||||
error.description?.includes &&
|
||||
error.description.includes("Field 'priority' cannot be set")
|
||||
) {
|
||||
if (error.description?.includes?.("Field 'priority' cannot be set")) {
|
||||
throw new NodeApiError(this.getNode(), error as JsonObject, {
|
||||
message:
|
||||
"Field 'priority' cannot be set. You need to add the Priority field to your Jira Project's Issue Types.",
|
||||
|
||||
Reference in New Issue
Block a user