From c9f4a56b36634d78fb95f869c34623e9abf73b2b Mon Sep 17 00:00:00 2001 From: Sebastian Choren Date: Wed, 24 May 2023 18:21:04 -0300 Subject: [PATCH] fix --- server/resourcemanager/resource_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/resourcemanager/resource_manager.go b/server/resourcemanager/resource_manager.go index 1a41ca3fe2..63943ba081 100644 --- a/server/resourcemanager/resource_manager.go +++ b/server/resourcemanager/resource_manager.go @@ -393,7 +393,7 @@ func (m *manager[T]) get(w http.ResponseWriter, r *http.Request) { id := id.ID(vars["id"]) getterFn := m.rh.Get - if isRequestForAugmented(r) { + if isRequestForAugmented(r) && m.rh.GetAugmented != nil { getterFn = m.rh.GetAugmented }