aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-api-v3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-api-v3.c')
-rw-r--r--src/afb-api-v3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-api-v3.c b/src/afb-api-v3.c
index 6469b886..ea691761 100644
--- a/src/afb-api-v3.c
+++ b/src/afb-api-v3.c
@@ -134,7 +134,7 @@ static struct json_object *describe_verb_v3(const struct afb_verb_v3 *verb)
g = json_object_new_object();
json_object_object_add(f, "get", g);
- a = afb_auth_json_v2(verb->auth, verb->session);
+ a = afb_auth_json_x2(verb->auth, verb->session);
if (a)
json_object_object_add(g, "x-permissions", a);