(w http.ResponseWriter, r *http.Request)
| 641 | type uploadGraphEncryptKeysResponse struct{} |
| 642 | |
| 643 | func (*uploadGraphEncryptKeysResponse) respond(w http.ResponseWriter, r *http.Request) { |
| 644 | w.WriteHeader(http.StatusOK) |
| 645 | // No body |
| 646 | } |
| 647 | |
| 648 | func (s *server) uploadGraphEncryptKeys(ctx context.Context, req *uploadGraphEncryptKeysRequest) (*uploadGraphEncryptKeysResponse, error) { |
| 649 | err := s.db.AddGraphEncryptKey(ctx, db.GraphID(req.GraphUUID), &db.GraphEncryptKey{ |
nothing calls this directly
no test coverage detected