* FIX [rest] fix build failed with AWS.
@@ -1933,7 +1933,8 @@ get_config(http_msg *msg, const char *type)
}
#ifdef SUPP_AWS_BRIDGE
else if (strcmp(type, "aws_bridge") == 0) {
- cJSON *aws_bridge = bridge_config(&config->aws_bridge);
+ cJSON *aws_bridge =
+ get_bridge_config(&config->aws_bridge);
cJSON_AddItemToObject(
conf_obj, "aws_bridge", aws_bridge);
}
@@ -1970,7 +1971,7 @@ get_config(http_msg *msg, const char *type)
cJSON_AddItemToObject(conf_obj, "bridge", bridge);
#ifdef SUPP_AWS_BRIDGE
- cJSON *aws_bridge = bridge_config(&config->aws_bridge);
+ cJSON *aws_bridge = get_bridge_config(&config->aws_bridge);
cJSON_AddItemToObject(conf_obj, "aws_bridge", aws_bridge);
#endif
// TODO webhook ?
