mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 06:03:08 +02:00
Add white spaces
This commit is contained in:
parent
6e720b2798
commit
0109e8e57c
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ const parsePropDefinition = (key: string, prop: any) => {
|
|||
return prop;
|
||||
};
|
||||
|
||||
const sortParams = (params: Array<{name: string}>) => {
|
||||
const sortParams = (params: Array<{ name: string }>) => {
|
||||
return params;
|
||||
};
|
||||
|
||||
|
@ -184,7 +184,7 @@ router.get('/*/api/endpoints/*', async ctx => {
|
|||
paramDefs: ep.meta.params ? extractParamDefRef(Object.entries(ep.meta.params).map(([k, v]) => v)) : null,
|
||||
res: ep.meta.res,
|
||||
resProps: ep.meta.res && ep.meta.res.props ? sortParams(Object.entries(ep.meta.res.props).map(([k, v]) => parsePropDefinition(k, v))) : null,
|
||||
resDefs: null,//extractPropDefRef(Object.entries(ep.res.props).map(([k, v]) => parsePropDefinition(k, v)))
|
||||
resDefs: null, //extractPropDefRef(Object.entries(ep.res.props).map(([k, v]) => parsePropDefinition(k, v)))
|
||||
src: `https://github.com/syuilo/misskey/tree/master/src/server/api/endpoints/${name}.ts`
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue