Revert []string=>[]uint64 change for channel members
Due to golang's inability do decode uint64 slice from string slice, we're expecting string input for members (for now): https://github.com/golang/go/issues/15624
This commit is contained in:
@@ -179,7 +179,7 @@
|
||||
"title": "Channel type"
|
||||
},
|
||||
{
|
||||
"type": "[]uint64",
|
||||
"type": "[]string",
|
||||
"name": "members",
|
||||
"required": false,
|
||||
"title": "Initial members of the channel"
|
||||
@@ -386,7 +386,7 @@
|
||||
"post": [
|
||||
{
|
||||
"name": "userID",
|
||||
"type": "[]uint64",
|
||||
"type": "[]string",
|
||||
"required": false,
|
||||
"title": "User ID"
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
"name": "members",
|
||||
"required": false,
|
||||
"title": "Initial members of the channel",
|
||||
"type": "[]uint64"
|
||||
"type": "[]string"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -262,7 +262,7 @@
|
||||
"name": "userID",
|
||||
"required": false,
|
||||
"title": "User ID",
|
||||
"type": "[]uint64"
|
||||
"type": "[]string"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user