feat(database): add description to the saved post table

This commit is contained in:
Harsh Shandilya 2022-12-10 18:25:11 +05:30
parent 9d8fd77a08
commit 1f850435b1
No known key found for this signature in database
4 changed files with 7 additions and 1 deletions

View file

@ -21,6 +21,7 @@ fun LobstersPost.toDbModel(): SavedPost {
submitterName = submitter.username,
submitterAvatarUrl = submitter.avatarUrl,
tags = tags,
description = description,
)
}
@ -35,5 +36,6 @@ fun LobstersPostDetails.toDbModel(): SavedPost {
submitterName = submitter.username,
submitterAvatarUrl = submitter.avatarUrl,
tags = tags,
description = description,
)
}