Skip to content
Snippets Groups Projects

find_votes and list_votes fixes

Merged Andrzej Lisak requested to merge find_list_votes_fixes into develop
  1. Sep 11, 2020
  2. Sep 10, 2020
    • Andrzej Lisak's avatar
      [ABW]: SQL function get_account renamed find_account_id · 76d51a4c
      Andrzej Lisak authored
      vote related views/types/functions extended by id since database_api requires it
      new SQL function to cover find_votes functionality
      neither voter nor post is mandatory in list_votes calls
      fixed internal _get_post_id in bridge_api
      find_votes_impl no longer requires full context, just what it actually uses: db
      find_votes_impl no longer checks passed arguments, only its official API version does
      list_votes_impl removed, only its official version is needed
      official API find_votes/list_votes now properly pack response in dictionary with 'votes' list
      76d51a4c
Loading