final touches
This commit is contained in:
@@ -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);
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user