On WSL2 I was receiving the following error when I was trying to git clone after configure the SSH on Github:
Please make sure you have the correct access rights
and the repository exists.
That's the solution: microsoft/WSL#4698 (comment)
{ | |
"openapi": "3.0.0", | |
"info": { | |
"title": "Solidifi Agent Partner API", | |
"version": "1.2.0", | |
"description": "\n# Introduction & Purpose\nThe Agent Partner API Integration Guide is for the technical resources assigned by Partner integrating with Solidifi Values™ to obtain direct access for receiving orders, status updates and delivering products. This guide identifies the data requirements, structures and services exchanged between Solidifi Values™ and the Partner.\n\n## Web Services Overview\nSolidifi offers a suite of web services to allow partners to easily interact with the Values™ platform. These web services are sent and received in XML in REST format. The sending and receiving of requests allow the partner to fully manage the order lifecycle from a remote application.\n\nThis document describes the different ways to post requests, but the schema used to send the actual order request and updates will be the same (see examples below). The web service URL endpoint for the partner to post requ |
import { SanityDocumentStub } from '@sanity/client' | |
import { algolia, sanity } from '~/libs' | |
import { NextApiRequest, NextApiResponse } from 'next' | |
import indexer from 'sanity-algolia' | |
const handler = (req: NextApiRequest, res: NextApiResponse) => { | |
if (req.headers['content-type'] !== 'application/json') { | |
res.status(400) | |
res.json({ message: 'Bad request' }) |
On WSL2 I was receiving the following error when I was trying to git clone after configure the SSH on Github:
Please make sure you have the correct access rights
and the repository exists.
That's the solution: microsoft/WSL#4698 (comment)
<!-- index --> | |
import React, { useState } from "react"; | |
import { | |
StyledBody, StyledContent, StyledHeader, StyledStatusIcon, StyledTitle, StyledWrapper, | |
} from "./styles"; | |
export interface AccordionProps extends React.HTMLAttributes<HTMLDivElement> { | |
initialOpened?: boolean; | |
title: string; | |
} |
{ | |
"version": 1, | |
"variables": [{ | |
"names": ["name", "email"], | |
"values": [ | |
["user-1", "[email protected]"], | |
["user-2", "[email protected]"], | |
["user-3", "[email protected]"], | |
["user-4", "[email protected]"], | |
["user-5", "[email protected]"], |
class Login extends Component { | |
state = { | |
email: { | |
value: '', | |
error: false, | |
validate: validateEmail, | |
}, | |
password: { | |
value: '', | |
error: false |
module.exports = { | |
changeTab() { | |
this.content.change(); | |
this.button.change(); | |
}, | |
content: { | |
change() { | |
this.disabled().className += ` ${this.enabledClass}`; | |
this.enabled().classList.remove(this.enabledClass); |
;(function() { | |
var submitContact = function() { | |
$.ajax({ | |
url: '/contato', | |
method: 'POST', | |
dataType: 'JSON', | |
data: $('#form').serialize(), | |
success: function(data) { | |
if (data) { |
if @contact.save | |
flash[:success] = 'Seus dados foram enviados com sucesso! Em breve entraremos em contato' | |
ContactMailer.contact(@contact).deliver_now | |
redirect_to action: "index" | |
else | |
flash[:error] = 'Não foi possível salvar seus dados!' | |
redirect_to action: "index" | |
end |
<% if @seo_title.blank? %> | |
<title>Nitro Química</title> | |
<% else %> | |
<title><%= @seo_title %> - Nitro Química</title> | |
<% end %> | |
<% unless @seo_description.blank? %> | |
<meta name="description" content="<%= @seo_description %>"> | |
<% end %> |