From 571d172f7f949ef7e64f322775a5893d49aae122 Mon Sep 17 00:00:00 2001 From: Gospodin Bodurov <gospodin@bodurov.net> Date: Tue, 21 May 2019 20:11:57 +0300 Subject: [PATCH] Add entityUUID --- Gopkg.toml | 2 +- handler/handler.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gopkg.toml b/Gopkg.toml index 56fd415..01bdbdf 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -1,5 +1,5 @@ [[constraint]] - branch = "master" + branch = "login-with-vereign" name = "code.vereign.com/code/viam-apis" [[constraint]] diff --git a/handler/handler.go b/handler/handler.go index aef13b5..7bb3e9e 100644 --- a/handler/handler.go +++ b/handler/handler.go @@ -245,7 +245,7 @@ func (s *KeyStorageServerImpl) GetKeyId(ctx context.Context, in *api.GetKeyIdByK return keyIdResponse, nil } - entity, err := clientutils.GetLastEntity(entitiesMagamentClient, auth.Uuid) + entity, err := clientutils.GetLastEntity(entitiesMagamentClient, in.EntityUUID) if err != nil { return nil, err -- GitLab