From 96ea1a9cf21894d1adacdc285a9c639db0afaad5 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Fri, 15 Jul 2022 08:56:48 -0500 Subject: [PATCH] refactor: do logical rearrangement of lesson attrs --- src/lib/lessons.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/lib/lessons.ts b/src/lib/lessons.ts index 2ac67c013..00f4daa2e 100644 --- a/src/lib/lessons.ts +++ b/src/lib/lessons.ts @@ -31,26 +31,28 @@ export async function loadLesson(slug: string, token?: string) { lesson(slug: $slug) { slug title + description duration - transcript_url + next_up_url + free_forever + path transcript + transcript_url subtitles_url - next_up_url - description hls_url dash_url - free_forever http_url media_url lesson_view_url thumb_url - path icon_url download_url + staff_notes_url + repo_url + code_url created_at updated_at published_at - staff_notes_url collection { ... on Playlist { title @@ -104,8 +106,6 @@ export async function loadLesson(slug: string, token?: string) { slug twitter } - repo_url - code_url comments { comment commentable_id