Skip to content

Commit 64c8e68

Browse files
committed
feat: update cameara method
Signed-off-by: Otavio Santana <[email protected]>
1 parent 7207531 commit 64c8e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jnosql/demoee/Camera.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ public static Camera of(Faker faker) {
2525
}
2626

2727
public Camera update(Camera request) {
28-
return null;
28+
return new Camera(this.id, request.brand, request.model, request.brandWithModel);
2929
}
3030
}

0 commit comments

Comments
 (0)