Skip to content

Commit e509da7

Browse files
committed
Add test api
1 parent f76fc5a commit e509da7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/main/java/ElectermSync/App.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ public static void main(String[] args) {
5555
response.status(r.statusCode);
5656
return r.fileData;
5757
});
58-
58+
post("/api/sync", (request, response) -> {
59+
return "test ok";
60+
});
5961
put("/api/sync", (request, response) -> {
6062
String requestBody = request.body();
6163
String jwtId = request.attribute("jwtId");

0 commit comments

Comments
 (0)