mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Remove deprecated server code
This commit is contained in:
parent
11fd3a4618
commit
3842a527f6
39 changed files with 40 additions and 173 deletions
|
@ -11,10 +11,7 @@ function apiFailMiddleware (req: express.Request, res: express.Response, next: e
|
|||
...data,
|
||||
|
||||
docs: res.locals.docUrl,
|
||||
code: type,
|
||||
|
||||
// For <= 3.2 compatibility
|
||||
error: message
|
||||
code: type
|
||||
})
|
||||
|
||||
const json = new ProblemDocument({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue