mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
feat(database): add description to the saved post table
This commit is contained in:
parent
9d8fd77a08
commit
1f850435b1
4 changed files with 7 additions and 1 deletions
|
@ -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,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue