-
Notifications
You must be signed in to change notification settings - Fork 480
Open
Description
In project-planner/components/SingleProject.vue, the fetch function is currently calling for uri where it should be calling for this.uri. This appears to be fixed in the next lesson branch (lesson-62)
deleteProject() {
fetch(uri, { method: 'DELETE' })
.then(() => this.$emit('delete', this.project.id))
.catch(err => console.log(err))
}
deleteProject() {
fetch(this.uri, { method: 'DELETE' })
.then(() => this.$emit('delete', this.project.id))
.catch(err => console.log(err))
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels