Cliient.sync_sso calls a missing route


(Jay Pfaffman) #1

Continuing the discussion from What exactly does "client.sync_sso" do? (Discourse Ruby API):

Calls /admin/users/USERNAME, which doesn’t seem to exist. That’s a bug, right? It looks like that route requires the user_id to be included before username.


(Jeff Atwood) #2

Is this correct @sam?


(Sam Saffron) #3

Yeah looks buggy probably created prior to us refactoring admin routes


(Jay Pfaffman) #4

Show me the love! At this rate, I’m never going to get my Tester badge. :slight_smile: (This is my second confirmed bug that didn’t get liked. :cry:)


(Jeff Atwood) #5

Can we fix this @blake – looks easy?


(Blake Erickson) #7

Okay fixed!

Install the latest version of the gem (0.16.1) and you will get the update.


(Blake Erickson) #8