File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/db/src/impl/couch Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -105,15 +105,15 @@ export default class CourseLookup {
105105 * @returns Promise<void>
106106 */
107107 static async addWithId (
108- courseId : string ,
109- courseName : string ,
108+ courseId : string ,
109+ courseName : string ,
110110 disambiguator ?: string
111111 ) : Promise < void > {
112112 const doc : Omit < CourseLookupDoc , '_rev' > = {
113113 _id : courseId ,
114114 name : courseName ,
115115 } ;
116-
116+
117117 if ( disambiguator ) {
118118 doc . disambiguator = disambiguator ;
119119 }
@@ -130,6 +130,7 @@ export default class CourseLookup {
130130 return await CourseLookup . _db . remove ( doc ) ;
131131 }
132132
133+ // [ ] rename to allCourses()
133134 static async allCourseWare ( ) : Promise < CourseLookupDoc [ ] > {
134135 const resp = await CourseLookup . _db . allDocs < CourseLookupDoc > ( {
135136 include_docs : true ,
You can’t perform that action at this time.
0 commit comments