The server for Open Course World
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

api: update tags on course PUT

jneen 85efd63d 3dbd9334

+4
+4
api/datastore.go
··· 1245 1245 // update endless flag 1246 1246 q = q.Update("endless", course.Endless) 1247 1247 1248 + // update the tags 1249 + q = q.Update("tag1", course.Tag1) 1250 + q = q.Update("tag2", course.Tag2) 1251 + 1248 1252 // See if deleted is specified in the body 1249 1253 if _, ok := body["deleted"]; ok { 1250 1254 q = q.Update("deleted", course.Deleted)