mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
docs: 📝 More work on JSDoc
This commit is contained in:
parent
527137f279
commit
c3271ba264
8 changed files with 205 additions and 52 deletions
|
|
@ -25,7 +25,7 @@ export async function fetchTimeline<T extends UserType | Status | Notification>(
|
|||
const objects = (await model(args, userId)) as T[];
|
||||
|
||||
// Constuct HTTP Link header (next and prev) only if there are more statuses
|
||||
const linkHeader = [];
|
||||
const linkHeader: string[] = [];
|
||||
const urlWithoutQuery = new URL(
|
||||
new URL(req.url).pathname,
|
||||
config.http.base_url,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue