Feature/api request #39

Merged
KevinMidboe merged 5 commits from feature/api_request into master 2017-10-03 14:28:39 +00:00
Showing only changes of commit 455bf565b2 - Show all commits

View File

@@ -20,7 +20,7 @@ class RequestRepository {
constructor(database) { constructor(database) {
this.database = database || establishedDatabase; this.database = database || establishedDatabase;
this.queries = { this.queries = {
'insertRequest': "INSERT INTO requests VALUES (?, ?, ?, ?, ?, ?, ?, CURRENT_DATE, 'requested')", 'insertRequest': "INSERT INTO requests VALUES (?, ?, ?, ?, ?, ?, CURRENT_DATE, 'requested', ?)",
'fetchRequstedItems': "SELECT * FROM requests", 'fetchRequstedItems': "SELECT * FROM requests",
} }
} }