Compare commits

..

1 Commits

Author SHA1 Message Date
0f28e3d11b 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
2025-12-06 22:20:02 +01:00
3 changed files with 3 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.617" const GoextVersion = "0.0.618"
const GoextVersionTimestamp = "2025-12-06T11:54:36+0100" const GoextVersionTimestamp = "2025-12-06T22:20:02+0100"

View File

@@ -1,13 +1,11 @@
package scn package scn
type Connection struct { type Connection struct {
uid string
token string token string
} }
func New(userid string, token string) *Connection { func New(token string) *Connection {
return &Connection{ return &Connection{
uid: userid,
token: token, token: token,
} }
} }

View File

@@ -88,7 +88,6 @@ func (c *MessageBuilder) Send(ctx context.Context) (MessageResponse, error) {
body := langext.H{} body := langext.H{}
body["user_id"] = c.conn.uid
body["key"] = c.conn.token body["key"] = c.conn.token
if c.channel != nil { if c.channel != nil {