./ct_report/coverage/mongoose_graphql_admin_mutation.COVER.html

1 -module(mongoose_graphql_admin_mutation).
2 -behaviour(mongoose_graphql).
3
4 -export([execute/4]).
5
6 -ignore_xref([execute/4]).
7
8 -include("../mongoose_graphql_types.hrl").
9
10 execute(_Ctx, _Obj, <<"domains">>, _Args) ->
11
:-(
{ok, admin};
12 execute(_Ctx, _Obj, <<"account">>, _Args) ->
13 10 {ok, account};
14 execute(_Ctx, _Obj, <<"muc_light">>, _Args) ->
15 25 {ok, muc_light};
16 execute(_Ctx, _Obj, <<"session">>, _Args) ->
17 8 {ok, session};
18 execute(_Ctx, _Obj, <<"stanza">>, _Args) ->
19 5 {ok, stanza};
20 execute(_Ctx, _Obj, <<"roster">>, _Args) ->
21 30 {ok, roster}.
Line Hits Source