Skip to content

Commit d99dc6a

Browse files
DEV: invite_admin endpoint is no longer available in Discourse core. (#255)
Follow-up to discourse/discourse@a157f4a
1 parent ddfedc9 commit d99dc6a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/discourse_api/api/users.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ def log_out(id)
7373
post("/admin/users/#{id}/log_out")
7474
end
7575

76-
def invite_admin(args = {})
77-
post("/admin/users/invite_admin", args)
78-
end
79-
8076
def list_users(type, params = {})
8177
response = get("admin/users/list/#{type}.json", params)
8278
response[:body]

lib/discourse_api/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# frozen_string_literal: true
22
module DiscourseApi
3-
VERSION = "2.0.0"
3+
VERSION = "2.0.1"
44
end

0 commit comments

Comments
 (0)