Browse Source

comments, removal of leftovers

master
crunch 4 weeks ago
parent
commit
9029e0abf6
2 changed files with 2 additions and 13 deletions
  1. +0
    -13
      db/db.json
  2. +2
    -0
      src/app/services/topic.service.ts

+ 0
- 13
db/db.json View File

@@ -1,13 +0,0 @@
{
"topics": [
{
"name": "cool topic",
"description": "nice description",
"id": 1
},
{
"{": "",
"id": 2
}
]
}

+ 2
- 0
src/app/services/topic.service.ts View File

@@ -23,6 +23,8 @@ export class TopicService {

addTopic(topic: Topic) {

// Das hat leider nicht funktioniert, Fehler: Module not found: can't resolve async_hook

/* const query = {
text: 'INSERT INTO foxbase-todos(title, description) VALUES($1, $2)',
values: [topic.title, topic.description],


Loading…
Cancel
Save