Skip to content

Commit

Permalink
fix: Fix type error in V1::instance (#940)
Browse files Browse the repository at this point in the history
`charactersReservedPerUrl` should be number type.

API Doc: https://docs.joinmastodon.org/entities/V1_Instance/#characters_reserved_per_url
  • Loading branch information
hakatashi committed Jul 14, 2023
1 parent d89990b commit f80bec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mastodon/v1/entities/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { Rule } from './rule';
export interface InstanceStatusesConfiguration {
maxCharacters: number;
maxMediaAttachments: number;
charactersReservedPerUrl: string;
charactersReservedPerUrl: number;
}

export interface InstanceMediaAttachmentsConfiguration {
Expand Down

0 comments on commit f80bec7

Please sign in to comment.