client: add User-Agent to outgoing requests
1 files changed, 1 insertions(+), 0 deletions(-) M client/graphql.go
M client/graphql.go => client/graphql.go +1 -0
@@ 133,6 133,7 @@ func Do(ctx context.Context, username string, svc string, return err } req.Header.Add("Content-Type", contentType) + req.Header.Add("User-Agent", "SourceHut core-go (https://git.sr.ht/~sircmpwn/core-go)") auth := InternalAuth{ Name: username, ClientID: config.ServiceName(ctx),