Skip to content
Snippets Groups Projects
Commit ec64997a authored by DmitriiPetrov's avatar DmitriiPetrov
Browse files

MP-971 RTO: rules for directing users to tool from dashboard & hiding sidebar...

MP-971 RTO: rules for directing users to tool from dashboard & hiding sidebar tools depending on listing or RTO status
parent 8dfeee55
Branches
Tags
No related merge requests found
......@@ -608,11 +608,11 @@ func PropertyQueryGetResolver(params graphql.ResolveParams) (interface{}, error)
return resp, nil
}
func getRTOStateName(context context.Context, propId string, userId string) (string, error) {
func getRTOStateName(context context.Context, propID string, userID string) (string, error) {
rtoResp, err := connections.RtoServiceClient.GetByPropertyID(context,
&rto.GetByPropertyIDRequest{
PropertyId: propId,
UserId: userId,
PropertyId: propID,
UserId: userID,
})
if err != nil {
return "", err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment