mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-18 16:48:07 +09:00
fix(api): parameter validation of users/show was wrong
This commit is contained in:
parent
96f6453fe2
commit
0c1ad61bee
@ -16,8 +16,7 @@ You should also include the user name that made the change.
|
|||||||
- Improve webhook @syuilo
|
- Improve webhook @syuilo
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
-
|
- API: parameter validation of users/show was wrong
|
||||||
|
|
||||||
|
|
||||||
## 12.109.2 (2022/04/03)
|
## 12.109.2 (2022/04/03)
|
||||||
|
|
||||||
|
@ -23,9 +23,9 @@ export const meta = {
|
|||||||
items: {
|
items: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
ref: 'UserDetailed',
|
ref: 'UserDetailed',
|
||||||
}
|
|
||||||
},
|
},
|
||||||
]
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
errors: {
|
errors: {
|
||||||
@ -70,7 +70,7 @@ export const paramDef = {
|
|||||||
description: 'The local host is represented with `null`.',
|
description: 'The local host is represented with `null`.',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
required: ['username', 'host'],
|
required: ['username'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
} as const;
|
} as const;
|
||||||
|
Loading…
Reference in New Issue
Block a user