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

nazo 36e942ec 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)