From cb4c60563a4abdb43c62c98c2628b236c37f801a Mon Sep 17 00:00:00 2001 From: jan-kir-wwu Date: Wed, 13 Dec 2023 20:04:01 +0100 Subject: [PATCH] fix: create return void --- .../java/org/erathor/api/controller/ModelControllerAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/erathor/api/controller/ModelControllerAPI.java b/src/main/java/org/erathor/api/controller/ModelControllerAPI.java index 5f4abad..4e851b1 100644 --- a/src/main/java/org/erathor/api/controller/ModelControllerAPI.java +++ b/src/main/java/org/erathor/api/controller/ModelControllerAPI.java @@ -9,7 +9,7 @@ public interface ModelControllerAPI { public Optional read(Integer id); - public M create(M model); + public void create(M model); public void update(M model);