Skip to content

Commit

Permalink
false -> true
Browse files Browse the repository at this point in the history
  • Loading branch information
sasumaki committed Jul 9, 2019
1 parent 837b39a commit b9d5ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/updater_api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b9d5ef6

Please sign in to comment.