diff --git a/services/updater_api/index.js b/services/updater_api/index.js index 646a39d5fe..03023f11a0 100644 --- a/services/updater_api/index.js +++ b/services/updater_api/index.js @@ -28,7 +28,7 @@ const handleMessage = async (priority) => async (msg) => { // :d data = await getStudent(message) try { // TODO: check that data is properly structured(?) - stan.publish(priority ? 'UpdateWrite' : 'PriorityWrite', JSON.stringify(data), (err, guid) => { + stan.publish(priority ? 'PriorityWrite' :'UpdateWrite' , JSON.stringify(data), (err, guid) => { if (err) { return err } else {