this repo has no description
0
fork

Configure Feed

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

com.atproto.account.createInviteCode has been renamed to com.atproto.server.createInviteCode (#662)

https://github.com/bluesky-social/atproto/blob/main/lexicons/com/atproto/server/createInviteCode.json

authored by

bnewbold and committed by
GitHub
efe2ce5c c216f68c

+1 -1
+1 -1
xrpc/xrpc.go
··· 184 184 } 185 185 186 186 // use admin auth if we have it configured and are doing a request that requires it 187 - if c.AdminToken != nil && (strings.HasPrefix(method, "com.atproto.admin.") || strings.HasPrefix(method, "tools.ozone.") || method == "com.atproto.account.createInviteCode" || method == "com.atproto.server.createInviteCodes") { 187 + if c.AdminToken != nil && (strings.HasPrefix(method, "com.atproto.admin.") || strings.HasPrefix(method, "tools.ozone.") || method == "com.atproto.server.createInviteCode" || method == "com.atproto.server.createInviteCodes") { 188 188 req.Header.Set("Authorization", "Basic "+base64.StdEncoding.EncodeToString([]byte("admin:"+*c.AdminToken))) 189 189 } else if c.Auth != nil { 190 190 req.Header.Set("Authorization", "Bearer "+c.Auth.AccessJwt)