anchor.diff:  
   
   seconds_to_timestamp(Seconds) ->
  -  {timestamp, bson:secs_to_unixtime(Seconds)};
  +  #{<<"timestamp">> => bson:secs_to_unixtime(Seconds)};
   seconds_to_timestamp(_) ->
  -  {timestamp, {0, 0, 0}}.
  -
  -timestamp_to_seconds({timestamp, Timestamp}) ->
  +  #{<<"timestamp">> => {0, 0, 0}}.
  +
  +timestamp_to_seconds(#{<<"timestamp">> := Timestamp}) ->
     bson:unixtime_to_secs(Timestamp);
   timestamp_to_seconds(_) ->
     0.
  
positive.code:                 mongoc:find_one(Conf, ?COLLECTION_PERMISSIONS, Query, #{}, 0)
               end,
    Item = mongoc:transaction_query(Topology, Callback),
    em_logger:info("RESULT: ~w", [Item]),
    do_get_result(Item, permission).
  
  do_get_permissions(#state{topology = Topology}, Query) ->
  
negative.code:                                     });
          _ -> void
      end,
      %%em_logger:info("COUNT: ~w", [do_count_users(State)]),
      {ok, State}.
  
  %%--------------------------------------------------------------------
  