zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

commit f80d0d96e15b79a92ab3947d2e8e60d22ef9ec42
parent 0ad29a1a505707940e20bb9dc978705d215d0de4
Author: srfsh <dev@srf.sh>
Date:   Fri, 28 Oct 2022 14:11:51 +0300

Zenflows.VF.Person.Type: use id instead of email and improve @desc

Diffstat:
Msrc/zenflows/vf/person/type.ex | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/zenflows/vf/person/type.ex b/src/zenflows/vf/person/type.ex @@ -188,10 +188,10 @@ object :query_person do resolve &Resolv.person_check/2 end - @desc "Retrieve a person from the email (if a person with that email exists)" + @desc "Retrieve a Person's public key by its id." field :person_pubkey, non_null(:string) do meta only_guest?: true - arg :email, non_null(:string) + arg :id, non_null(:id) resolve &Resolv.person_pubkey/2 end end