updateHighlightDB

fun updateHighlightDB(postKey: String?, postVal: String?)

Updates the highlight status of a post on the database.

Parameters

postKey

Unique identifier of the post whose highlight status is being toggled.

postVal

Unique identifier of the post to be added or removed from the user's list of highlighted posts.