mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +00:00
Rename /api/v2_alpha/notifications* to /api/v2/notifications* (#31840)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user