Merge branch 'backend/fix-projects-structure' into 'main'

fix: better structure and example Quotes is changed to real name

See merge request EmmaVandewalle/writand!26
This commit is contained in:
Robin Meersman 2024-07-23 19:07:11 +00:00
commit 773bc7e4f7
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
package be.re.writand.data.repos package be.re.writand.data.repos.projects
import be.re.writand.data.local.models.Project import be.re.writand.data.local.models.Project
import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.Flow

View file

@ -1,4 +1,4 @@
package be.re.writand.data.repos package be.re.writand.data.repos.projects
import be.re.writand.data.local.db.ProjectsDao import be.re.writand.data.local.db.ProjectsDao
import be.re.writand.data.local.models.Project import be.re.writand.data.local.models.Project

View file

@ -22,7 +22,7 @@ class DatabaseModule {
return ProjectsDatabase.getInstance(context) return ProjectsDatabase.getInstance(context)
} }
@Provides @Provides
fun provideQuotesDao(projectsDatabase: ProjectsDatabase): ProjectsDao { fun provideProjectsDao(projectsDatabase: ProjectsDatabase): ProjectsDao {
return projectsDatabase.projectsDao() return projectsDatabase.projectsDao()
} }