docs: 📝 More work on JSDoc

This commit is contained in:
Jesse Wierzbinski 2024-06-12 22:52:03 -10:00
parent 527137f279
commit c3271ba264
No known key found for this signature in database
8 changed files with 205 additions and 52 deletions

View file

@ -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,