Skip to content

Commit

Permalink
fix: v2 instance api version
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jan 9, 2023
1 parent 191fe46 commit 3a491e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mastodon/v2/repositories/instance-repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class InstanceRepository implements Repository<Instance> {
* @return Instance
* @see https://docs.joinmastodon.org/methods/instance/
*/
@version({ since: '1.0.0' })
@version({ since: '4.0.0' })
fetch(): Promise<Instance> {
return this.http.get<Instance>('/api/v2/instance');
}
Expand Down

0 comments on commit 3a491e4

Please sign in to comment.