Skip to content
Snippets Groups Projects
Unverified Commit 850addc6 authored by Cj-bc's avatar Cj-bc Committed by GitHub
Browse files

user schemaにあるany型を厳格にした (#10319)

使用されている箇所から、これらのプロパティの型はstring型に限定出来そうということが分かった。
又、OpenAPIv3の仕様上はanyは使えないため修正した。

related: https://github.com/misskey-dev/misskey/issues/10308

* Update CHANGELOG
parent 7887ccc9
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ You should also include the user name that made the change.
- Playのソースコード上限文字数を2倍に拡張
- 付箋ウィジェットの高さを設定可能に
- 配送先サーバーが410 Goneで応答してきた場合は自動で配送停止をするように
- avatarBlurHash/bannerBlurHashの型をstringに限定
### Bugfixes
- プロフィールで設定した情報が削除できない問題を修正
......
......@@ -29,7 +29,7 @@ export const packedUserLiteSchema = {
nullable: true, optional: false,
},
avatarBlurhash: {
type: 'any',
type: 'string',
nullable: true, optional: false,
},
isAdmin: {
......@@ -93,7 +93,7 @@ export const packedUserDetailedNotMeOnlySchema = {
nullable: true, optional: false,
},
bannerBlurhash: {
type: 'any',
type: 'string',
nullable: true, optional: false,
},
isLocked: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment