fix: change activitypub module name

This commit is contained in:
viletyy 2023-01-18 18:31:48 +08:00
parent 463ef3ac1a
commit b27599f2a5
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
module Gitea
module Api
module Admin
module Activitypub
def get_activitypub_user_by_username(username, opt = {})
@http.get("/activitypub/user/#{username}", opt)
@ -9,7 +9,7 @@ module Gitea
def post_activitypub_user_inbox_by_username(username, opt = {})
@http.post("/activitypub/user/#{username}/inbox", opt)
end
end # Admin
end # Api
end # Gitea