feat: scan book to add to sell
This commit is contained in:
parent
3a013c829f
commit
07c7c98edb
11 changed files with 238 additions and 31 deletions
|
|
@ -8,6 +8,10 @@ class BookRepository {
|
|||
final ApiClient _apiClient;
|
||||
|
||||
Future<Result<Book>> getBookByEAN(String ean) async {
|
||||
return _apiClient.getBookByEAN(ean);
|
||||
return await _apiClient.getBookByEAN(ean);
|
||||
}
|
||||
|
||||
Future<Result<Book>> getBookById(int id) async {
|
||||
return await _apiClient.getBookById(id);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue