Voir le detail d'un livre

This commit is contained in:
2026-06-11 05:52:26 -04:00
parent e438373370
commit 1f9a1e9af8
4 changed files with 40 additions and 1 deletions
+4
View File
@@ -6,4 +6,8 @@ export function getBooks(page = 0, size = 20) {
export function registerBook(book) {
return client.post('/api/books', book);
}
export function getBookById(id) {
return client.get(`/api/books/${id}`);
}