chore: update graphql gen
This commit is contained in:
		
							parent
							
								
									2a1e9900e1
								
							
						
					
					
						commit
						ad4c95cb3f
					
				@ -8,7 +8,7 @@ import (
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"net"
 | 
			
		||||
	"net/http"
 | 
			
		||||
	"path"
 | 
			
		||||
	"net/url"
 | 
			
		||||
	"strings"
 | 
			
		||||
 | 
			
		||||
	"github.com/keys-pub/keys"
 | 
			
		||||
@ -124,12 +124,14 @@ func (s *service) ServeHTTP(w http.ResponseWriter, r *http.Request) {
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	basePath, _ := url.JoinPath(s.baseURL, a.inbox.String())
 | 
			
		||||
 | 
			
		||||
	err = json.NewEncoder(w).Encode(
 | 
			
		||||
		struct {
 | 
			
		||||
			Endpoint string `json:"endpoint"`
 | 
			
		||||
			Key      string `json:"key"`
 | 
			
		||||
		}{
 | 
			
		||||
			Endpoint: path.Join(s.baseURL, a.inbox.String()),
 | 
			
		||||
			Endpoint: basePath,
 | 
			
		||||
			Key:      a.pubkey.ID().String(),
 | 
			
		||||
		})
 | 
			
		||||
	if err != nil {
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6032
									
								
								internal/graph/generated/generated.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6032
									
								
								internal/graph/generated/generated.go
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user