v0.0.618 remove deprecated param 'user_id' from scn.send()
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 1m46s
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 1m46s
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
package scn
|
||||
|
||||
type Connection struct {
|
||||
uid string
|
||||
token string
|
||||
}
|
||||
|
||||
func New(userid string, token string) *Connection {
|
||||
func New(token string) *Connection {
|
||||
return &Connection{
|
||||
uid: userid,
|
||||
token: token,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user