backend for xcvr appview
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

try a different thing

rachel-mp4 a7f14687 a97b8e68

+4 -4
+4 -4
server/internal/oauth/xrpcclient.go
··· 145 145 c.logger.Deprintln("creating session...") 146 146 secret := os.Getenv("MY_SECRET") 147 147 identity := os.Getenv("MY_IDENTITY") 148 - params := map[string]any{ 149 - "identifier": &identity, 150 - "password": &secret, 148 + input := atproto.ServerCreateSession_Input{ 149 + Identifier: identity, 150 + Password: secret, 151 151 } 152 152 var out atproto.ServerCreateSession_Output 153 - err := c.xcvrcli.LexDo(ctx, "POST", "application/json", "com.atproto.server.createSession", params, nil, out) 153 + err := c.xcvrcli.LexDo(ctx, "POST", "application/json", "com.atproto.server.createSession", nil, input, out) 154 154 if err != nil { 155 155 return errors.New("I couldn't create a session: " + err.Error()) 156 156 }