updateMarkersWithAuth(): Require DOMAIN header (#3660)
Otherwise markers are updated for the wrong account. Fixes https://github.com/tuskyapp/Tusky/issues/3658
This commit is contained in:
parent
92ba53a8c3
commit
158f9b83fb
2 changed files with 9 additions and 3 deletions
|
|
@ -156,6 +156,7 @@ interface MastodonApi {
|
|||
@POST("api/v1/markers")
|
||||
fun updateMarkersWithAuth(
|
||||
@Header("Authorization") auth: String,
|
||||
@Header(DOMAIN_HEADER) domain: String,
|
||||
@Field("home[last_read_id]") homeLastReadId: String? = null,
|
||||
@Field("notifications[last_read_id]") notificationsLastReadId: String? = null
|
||||
): NetworkResult<Unit>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue