mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
This also adds the ability to change the client role if needed and improves the usage information and output of the CLI commands. Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -37,7 +37,7 @@ func clientsModAction(ctx *cli.Context) error {
|
||||
// Find client record.
|
||||
var client *entity.Client
|
||||
|
||||
client = entity.FindClient(id)
|
||||
client = entity.FindClientByUID(id)
|
||||
|
||||
if client == nil {
|
||||
return fmt.Errorf("client %s not found", clean.LogQuote(id))
|
||||
|
||||
Reference in New Issue
Block a user