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
|
||||
JSONIPC.request Login, 0 do
|
||||
property mid : String
|
||||
property mid : String = ""
|
||||
|
||||
property token : String
|
||||
|
||||
def initialize(@token)
|
||||
@mid = UUID.random.to_s
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user