diff --git a/electron-app/src/server/websites/artconomy/artconomy.service.ts b/electron-app/src/server/websites/artconomy/artconomy.service.ts index b16a4d35..7d865cd8 100644 --- a/electron-app/src/server/websites/artconomy/artconomy.service.ts +++ b/electron-app/src/server/websites/artconomy/artconomy.service.ts @@ -24,6 +24,7 @@ import { LoginResponse } from '../interfaces/login-response.interface'; import { ScalingOptions } from '../interfaces/scaling-options.interface'; import { Website } from '../website.base'; import { PostData } from '../../submission/post/interfaces/post-data.interface'; +import FormContent from "../../utils/form-content.util"; @Injectable() export class Artconomy extends Website { @@ -250,6 +251,13 @@ export class Artconomy extends Website { 'relationships depicted', ); } + const description = this.defaultDescriptionParser( + FormContent.getDescription(defaultPart.data.description, submissionPart.data.description), + ) + + if (description.length > 2000) { + problems.push('Description must be 2000 characters or fewer.') + } const maxMB = 99; files.forEach(file => { diff --git a/package.json b/package.json index 73682007..19651843 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "release:linux": "node create-signer.js && npm run make && cd electron-app && yarn run release:linux", "release:osx": "npm run make && cd electron-app && yarn run release:osx", "contribute": "npm ci --ignore-scripts && run-p --silent --print-name ci:** && run-p build:**", - "contribute:debug": "npm ci --ignore-scripts && run-p --print-name ci:** && --print-label run-p build:**", + "contribute:debug": "npm ci --ignore-scripts && run-p --print-name ci:** && run-p build:**", "ci:commons": "cd commons && npm ci --no-audit&& npm run build", "ci:app": "cd electron-app && npm ci --no-audit", "ci:ui": "cd ui && npm ci --no-audit --no-fund --no-deprecate",