From 93ce84e5819aef7eca6f92e3728facfa8993fb10 Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Sat, 13 May 2023 22:12:05 +0200 Subject: [PATCH] Fix Create and Update API Methods --- internal/api/object/services.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/api/object/services.go b/internal/api/object/services.go index e1e3dbd..435f1fc 100644 --- a/internal/api/object/services.go +++ b/internal/api/object/services.go @@ -39,8 +39,8 @@ func (f *Object) GetServices(ctx context.Context, params struct{}) (GetServicesR } type CreateServiceParameters struct { - Name string - Service object.Service + Name string + object.Service } func (f *Object) CreateService(ctx context.Context, params CreateServiceParameters) (struct{}, error) { @@ -57,8 +57,8 @@ func (f *Object) CreateService(ctx context.Context, params CreateServiceParamete } type UpdateServiceParameters struct { - Name string - Service object.Service + Name string + object.Service } func (f *Object) UpdateService(ctx context.Context, params UpdateServiceParameters) (struct{}, error) {