Fix Create and Update API Methods

This commit is contained in:
Samuel Lorch 2023-05-13 22:12:05 +02:00
parent 74fc3b0b8c
commit 93ce84e581

View file

@ -40,7 +40,7 @@ func (f *Object) GetServices(ctx context.Context, params struct{}) (GetServicesR
type CreateServiceParameters struct {
Name string
Service object.Service
object.Service
}
func (f *Object) CreateService(ctx context.Context, params CreateServiceParameters) (struct{}, error) {
@ -58,7 +58,7 @@ func (f *Object) CreateService(ctx context.Context, params CreateServiceParamete
type UpdateServiceParameters struct {
Name string
Service object.Service
object.Service
}
func (f *Object) UpdateService(ctx context.Context, params UpdateServiceParameters) (struct{}, error) {