parent
908f028322
commit
3038e7d076
|
@ -108,7 +108,7 @@ module AuthD
|
||||||
response = read
|
response = read
|
||||||
|
|
||||||
if response.type == ResponseTypes::Ok.value.to_u8
|
if response.type == ResponseTypes::Ok.value.to_u8
|
||||||
User.from_json response.payload
|
User.from_json String.new response.payload
|
||||||
else
|
else
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue