aboutsummaryrefslogtreecommitdiffstats
path: root/ahl-binding/ahl-binding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ahl-binding/ahl-binding.cpp')
-rw-r--r--ahl-binding/ahl-binding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ahl-binding/ahl-binding.cpp b/ahl-binding/ahl-binding.cpp
index 37e6847..29be7a1 100644
--- a/ahl-binding/ahl-binding.cpp
+++ b/ahl-binding/ahl-binding.cpp
@@ -268,7 +268,7 @@ void ahl_binding_t::load_static_verbs()
ahl_api_get_roles,
nullptr,
nullptr,
- AFB_SESSION_NONE_V2))
+ AFB_SESSION_NONE_X2))
{
throw std::runtime_error("Failed to add 'get_role' verb to the API.");
}
@@ -360,7 +360,7 @@ int ahl_binding_t::create_api_verb(role_t* r)
ahl_api_role,
r,
nullptr,
- AFB_SESSION_NONE_V2))
+ AFB_SESSION_NONE_X2))
{
AFB_DYNAPI_ERROR(handle_, "Failed to add '%s' verb to the API.",
r->uid().c_str());