Adds a default value to Requests::Login#mid.
This commit is contained in:
parent
ff74b4f217
commit
0e94bf78db
@ -5,8 +5,10 @@ require "base64"
|
|||||||
|
|
||||||
class FileStorage::Request
|
class FileStorage::Request
|
||||||
JSONIPC.request Login, 0 do
|
JSONIPC.request Login, 0 do
|
||||||
property mid : String
|
property mid : String = ""
|
||||||
|
|
||||||
property token : String
|
property token : String
|
||||||
|
|
||||||
def initialize(@token)
|
def initialize(@token)
|
||||||
@mid = UUID.random.to_s
|
@mid = UUID.random.to_s
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user