DEV: remove user thread count route (#25385)

Removes a now redundant route for the user thread count.
This commit is contained in:
David Battersby
2024-01-24 10:32:34 +08:00
committed by GitHub
parent 9dfa31202e
commit 04d2ec45b4
4 changed files with 0 additions and 35 deletions

View File

@ -29,24 +29,4 @@ describe Chat::Api::CurrentUserThreadsController do
end
end
end
describe "#thread_count" do
describe "success" do
it "works" do
get "/chat/api/me/threads/count"
expect(response.status).to eq(200)
expect(response.parsed_body["thread_count"]).to eq(0)
end
end
context "when threads are not found" do
it "returns a 200 when there are no threads" do
get "/chat/api/me/threads/count"
expect(response.status).to eq(200)
expect(response.parsed_body["thread_count"]).to eq(0)
end
end
end
end