swipe
swipe
BRBuildShip + Rowy
Created by swipe on 2/20/2024 in #❓・buildship-help
Firebase complex queries (OR, AND)
@Gaurav Chadha would appreciate any suggestions
5 replies
BRBuildShip + Rowy
Created by swipe on 4/7/2024 in #💬・general
swipe - With BuildShip, I often run into the si...
EXPECTED: I can use the result of a node that is matched with a node in each branch. ACTUAL BEHAVIOR: It wants me to select a node from only the THEN or ELSE branch.
4 replies
BRBuildShip + Rowy
Created by swipe on 4/7/2024 in #💬・general
swipe - With BuildShip, I often run into the si...
No description
4 replies
BRBuildShip + Rowy
Created by swipe on 1/20/2024 in #💬・general
I've been playing around with the HTML
curiously, if I remove "res, req," from the params, and I comment out the lines that use it, the error goes away. I wonder if there's an issue with modifying headers using this method?
7 replies
BRBuildShip + Rowy
Created by swipe on 1/20/2024 in #💬・general
I've been playing around with the HTML
Yes, it's defined and passed in the test params
7 replies
BRBuildShip + Rowy
Created by swipe on 1/20/2024 in #💬・general
I've been playing around with the HTML
This is the code I'm working on, but it's throwing an error in test mode: import fetch from 'node-fetch'; export default async function postRequestPuppeteerStore(req, res, { htmlContent, options }) { try { const response = await fetch('https://puppeteer.buildship.run/v1/pdf', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ htmlContent, options }) }); const buffer = await response.buffer(); // Set headers to indicate the response type is a PDF res.setHeader('Content-Type', 'application/pdf'); res.setHeader('Content-Disposition', 'attachment; filename="output.pdf"'); // Send the buffer as the response res.send(buffer); } catch (error) { // Handle errors here (e.g., send a 500 server error response) res.status(500).send('Error generating PDF'); } } The error I am getting is: { "error": "Cannot destructure property 'htmlContent' of 'undefined' as it is undefined." }
7 replies
BRBuildShip + Rowy
Created by swipe on 1/20/2024 in #💬・general
I've been playing around with the HTML
I haven’t had much luck on this yet, definitely keen on finding out if it’s possible!
7 replies
BRBuildShip + Rowy
Created by swipe on 1/22/2024 in #❓・buildship-help
Get Authorization Header Node has incorrect output type
I know, that's what I'm saying - the vanilla node is configured incorrectly. It should either have the output type set to object, or the code should return a string (which would make sense). As coded, it's a broken node.
4 replies
BRBuildShip + Rowy
Created by swipe on 12/8/2023 in #💬・general
I am confused by the info tips for the
The row inserts just fine
6 replies