From 17bd1704fadbae19f30c7d0fa5ed127bd4afe416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Franke?= Date: Mon, 23 Jan 2023 12:28:22 +0100 Subject: [PATCH] Stop expecting class var. --- services/graph/pkg/service/v0/educationclasses.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/graph/pkg/service/v0/educationclasses.go b/services/graph/pkg/service/v0/educationclasses.go index 385e0a0509..f8cccd3f16 100644 --- a/services/graph/pkg/service/v0/educationclasses.go +++ b/services/graph/pkg/service/v0/educationclasses.go @@ -120,7 +120,7 @@ func (g Graph) PatchEducationClass(w http.ResponseWriter, r *http.Request) { return } - class, err := g.identityEducationBackend.UpdateEducationClass(r.Context(), classID, *changes) + _, err = g.identityEducationBackend.UpdateEducationClass(r.Context(), classID, *changes) if err != nil { logger.Error(). Err(err).