talaia-labs / rust-teos

The Eye of Satoshi - Lightning Watchtower
https://talaia-labs.github.io/talaia.watch/
MIT License
136 stars 63 forks source link

Make `teos-cli get_user` return locators in `appointments` #229

Open sr-gi opened 1 year ago

sr-gi commented 1 year ago

Currently, get_user_info returns a list of UUIDs when requesting info about a user, and therefore, teos-cli get_user display those. This is a bit counter-intuitive given, for the user's/admin's sake, everything is identified by locator. Also, UUIDs can be recreated from the Locator and the given user, so we could just simply display Locator's here.

Do this once #190 is landed, given it'll make more sense once we don't have any data in memory.

aruokhai commented 1 year ago

Hey, I think i would work on this as my first contribution