Skip to content
This repository has been archived by the owner on Oct 14, 2019. It is now read-only.

lesson update and save not working #3

Open
manojkumarbehera opened this issue May 27, 2017 · 1 comment
Open

lesson update and save not working #3

manojkumarbehera opened this issue May 27, 2017 · 1 comment

Comments

@manojkumarbehera
Copy link

on lesson update getting this error
EditLessonComponent.html:5 ERROR TypeError: this.sdkDb.update is not a function
at LessonsService.webpackJsonp.65.LessonsService.firebaseUpdate (lessons.service.ts:92)

@jaroslaw-bagnicki
Copy link

In constructor of LessonsService class should be:
this.sdkDb = fb.database().**ref()**;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants