final touches
CI/CD / Deploy (push) Has been cancelled
CI/CD / Backend Unit Tests (push) Has been cancelled

This commit is contained in:
2026-06-11 13:54:10 +02:00
parent 7d7e641f5b
commit e3529f892c
3 changed files with 11 additions and 10 deletions
+1
View File
@@ -91,3 +91,4 @@ frontend/expo-env.d.ts
CLAUDE.md CLAUDE.md
ksan.dev.keystore
@@ -2,7 +2,6 @@ package dev.ksan.etfoglasiserver.config;
import dev.ksan.etfoglasiserver.service.JWTService; import dev.ksan.etfoglasiserver.service.JWTService;
import dev.ksan.etfoglasiserver.service.MyUserDetailsService; import dev.ksan.etfoglasiserver.service.MyUserDetailsService;
import dev.ksan.etfoglasiserver.service.UserService;
import io.jsonwebtoken.JwtException; import io.jsonwebtoken.JwtException;
import jakarta.servlet.FilterChain; import jakarta.servlet.FilterChain;
import jakarta.servlet.ServletException; import jakarta.servlet.ServletException;
@@ -25,7 +25,7 @@ public class EntryController {
return service.getEntryById(entryId); return service.getEntryById(entryId);
} }
//ignore this for now // TODO only for testing
@PostMapping("/entries") @PostMapping("/entries")
public void addEntry(@RequestBody EntryDTO entry) { public void addEntry(@RequestBody EntryDTO entry) {
service.addEntry(entry); service.addEntry(entry);
@@ -62,13 +62,14 @@ public class EntryController {
} }
@PutMapping("/entries") // @PutMapping("/entries")
public void updateEntry(@RequestBody EntryDTO entry) { // public void updateEntry(@RequestBody EntryDTO entry) {
service.updateEntry(entry); // service.updateEntry(entry);
} // }
@DeleteMapping("/entries/{entryId}") // @DeleteMapping("/entries/{entryId}")
public void deleteEntry(@PathVariable String entryId) { // public void deleteEntry(@PathVariable String entryId) {
service.deleteEntry(entryId); // service.deleteEntry(entryId);
} // }
//
} }