Skip to content

Commit 357f62f

Browse files
authored
Merge pull request #85 from teacoder-team/dev
fix(progress): use id for nextLesson
2 parents a28bf0a + 48e2a96 commit 357f62f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/progress/progress.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class ProgressService {
136136
})
137137

138138
return {
139-
nextLesson: nextLesson ? nextLesson.slug : null,
139+
nextLesson: nextLesson ? nextLesson.id : null,
140140
isCompleted: userProgress.isCompleted
141141
}
142142
}

0 commit comments

Comments
 (0)