mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
build: Upgrade to Vite 5 (#7784)
This commit is contained in:
@@ -106,11 +106,10 @@ export async function haloPSAApiRequest(
|
||||
}`;
|
||||
}
|
||||
if (message.includes('403')) {
|
||||
(
|
||||
error as JsonObject
|
||||
).message = `You don\'t have permissions to ${method.toLowerCase()} ${resource
|
||||
.split('/')[1]
|
||||
.toLowerCase()}.`;
|
||||
(error as JsonObject).message =
|
||||
`You don\'t have permissions to ${method.toLowerCase()} ${resource
|
||||
.split('/')[1]
|
||||
.toLowerCase()}.`;
|
||||
}
|
||||
}
|
||||
throw new NodeApiError(this.getNode(), error as JsonObject);
|
||||
|
||||
Reference in New Issue
Block a user