From b27599f2a573a702db1f8ee2f0dbf490b2f03938 Mon Sep 17 00:00:00 2001 From: viletyy Date: Wed, 18 Jan 2023 18:31:48 +0800 Subject: [PATCH] fix: change activitypub module name --- lib/gitea/api/activitypub.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gitea/api/activitypub.rb b/lib/gitea/api/activitypub.rb index c5ca6bf..9779dca 100644 --- a/lib/gitea/api/activitypub.rb +++ b/lib/gitea/api/activitypub.rb @@ -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 \ No newline at end of file