From acf31a11a37fff0f65075079cc9e784856616f78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sat, 14 Sep 2024 19:54:08 +0200 Subject: [PATCH] fix account/header descriptions on pleroma MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-api/lib/entities/account.ts | 2 ++ packages/pl-api/package.json | 2 +- packages/pl-fe/package.json | 2 +- packages/pl-fe/yarn.lock | 8 ++++---- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/pl-api/lib/entities/account.ts b/packages/pl-api/lib/entities/account.ts index 9bdfa0a67f..210b470c15 100644 --- a/packages/pl-api/lib/entities/account.ts +++ b/packages/pl-api/lib/entities/account.ts @@ -36,6 +36,8 @@ const preprocessAccount = (account: any) => { 'favicon', 'birthday', 'deactivated', + 'avatar_description', + 'header_description', 'settings_store', 'chat_token', diff --git a/packages/pl-api/package.json b/packages/pl-api/package.json index 13ae3acc50..abfe999e55 100644 --- a/packages/pl-api/package.json +++ b/packages/pl-api/package.json @@ -1,6 +1,6 @@ { "name": "pl-api", - "version": "0.0.32", + "version": "0.0.33", "type": "module", "homepage": "https://github.com/mkljczk/pl-fe/tree/fork/packages/pl-api", "repository": { diff --git a/packages/pl-fe/package.json b/packages/pl-fe/package.json index 96461d79cb..e7d56e8ac5 100644 --- a/packages/pl-fe/package.json +++ b/packages/pl-fe/package.json @@ -134,7 +134,7 @@ "multiselect-react-dropdown": "^2.0.25", "object-to-formdata": "^4.5.1", "path-browserify": "^1.0.1", - "pl-api": "^0.0.32", + "pl-api": "^0.0.33", "postcss": "^8.4.29", "process": "^0.11.10", "punycode": "^2.1.1", diff --git a/packages/pl-fe/yarn.lock b/packages/pl-fe/yarn.lock index 4add4b439c..1733c8c71a 100644 --- a/packages/pl-fe/yarn.lock +++ b/packages/pl-fe/yarn.lock @@ -8240,10 +8240,10 @@ pkg-types@^1.0.3: mlly "^1.2.0" pathe "^1.1.0" -pl-api@^0.0.32: - version "0.0.32" - resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.32.tgz#d6d86342c99c740bdb4e99a67ef249caede7390a" - integrity sha512-uIh98+/5Z9CVoP5b77+tH2ETsSeLKmSXR0vmH7vkxQdjssrv139puy7jv7aYKnbOj2uqm3IDTCyYzI4q0KNFBQ== +pl-api@^0.0.33: + version "0.0.33" + resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.33.tgz#2afa795f7c708683b512d37d19045a91b9ab6663" + integrity sha512-pA6G6mB+KjOmJxqXoGLpWNqpfPWwZ2Rlu6H8rHdCv9lPXjrnZRqXFEy7cYJAIMdaKo5m224CQqXVFCMg5RYXdg== dependencies: blurhash "^2.0.5" http-link-header "^1.1.3"