0
0
Fork 0

Rename /api/v2_alpha/notifications* to /api/v2/notifications* (#31840)

This commit is contained in:
Claire 2024-09-16 14:10:02 +02:00 committed by GitHub
parent efb0e2c34b
commit e0648a916a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 391 additions and 36 deletions

View file

@ -43,6 +43,12 @@ module Mastodon
@gem_version ||= Gem::Version.new(to_s.split('+')[0])
end
def api_versions
{
mastodon: 2,
}
end
def repository
ENV.fetch('GITHUB_REPOSITORY', 'mastodon/mastodon')
end