Update app/server.js

Co-authored-by: Ben Steinberg <bsteinberg@law.harvard.edu>
pull/2/head
Matteo Cargnelutti 2022-11-21 09:26:47 -05:00 zatwierdzone przez GitHub
rodzic 10cd4613a1
commit 1a5b78dfe1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -73,7 +73,7 @@ export default async function (fastify, opts) {
/** /**
* [POST] / * [POST] /
* Processes a request to capture a twitter url. * Processes a request to capture a twitter url.
* Serves PDF byte directly if operation is successful. * Serves PDF bytes directly if operation is successful.
* Returns to form with specific error code, passed as `errorReason`, otherwise. * Returns to form with specific error code, passed as `errorReason`, otherwise.
*/ */
fastify.post('/', async (request, reply) => { fastify.post('/', async (request, reply) => {