Skip to content

Commit

Permalink
fix: allow omitting one timeline when creating marker
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jan 8, 2023
1 parent 62b412e commit ca1070c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mastodon/v1/repositories/marker-repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface FetchMarkersParams {

export type CreateMarkersParams = {
readonly /** ID of the last status read in the timeline. */
[key in MarkerTimeline]: Pick<MarkerItem, 'lastReadId'>;
[key in MarkerTimeline]?: Pick<MarkerItem, 'lastReadId'>;
};

export class MarkerRepository
Expand Down

0 comments on commit ca1070c

Please sign in to comment.