Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Nov 28, 2023
1 parent b0769e7 commit 7455305
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/docs/src/routes/resources/videos/+page.server.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,4 @@
import videos from "$lib/json/youtube.json"
// filter unused properties
// const videosFiltered = videos.map(
// ({
// statistics,
// snippet: {
// publishedAt,
// categoryId,
// thumbnails: { medium, ...restThumbnails },
// ...restsnippet
// },
// status: { privacyStatus, license, publicStatsViewable, ...reststatus },
// pageInfo,
// kind,
// etag,
// contentDetails,
// ...rest
// }) => ({
// ...rest,
// snippet: { ...restsnippet, thumbnails: restThumbnails },
// status: reststatus,
// })
// )

// remove extra data from json
videos.forEach((video) => {
Expand Down

0 comments on commit 7455305

Please sign in to comment.