Skip to content

Commit

Permalink
Replace bare string operation names with variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jleung51 committed Mar 31, 2016
1 parent 6a333b4 commit 6a43634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BasicServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ void handle_put(http_request message) {
}
// [0] refers to the operation name
// Evaluated after size() to ensure legitimate access
else if(paths[0] == "AddPropertyAdmin" || paths[0] == "UpdatePropertyAdmin"){
else if(paths[0] == add_property_admin || paths[0] == update_property_admin){
message.reply(status_codes::NotImplemented);
return;
}
Expand Down

0 comments on commit 6a43634

Please sign in to comment.