ari: Fix #include to match generated headers for snakeCase resource files
[asterisk/asterisk.git] / rest-api-templates / res_ari_resource.c.mustache
index 06b493c..580ba19 100644 (file)
@@ -49,7 +49,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/app.h"
 #include "asterisk/module.h"
 #include "asterisk/stasis_app.h"
-#include "ari/resource_{{name}}.h"
+#include "ari/resource_{{c_name}}.h"
 #if defined(AST_DEVMODE)
 #include "ari/ari_model_validators.h"
 #endif