We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c011f58 commit 757de5dCopy full SHA for 757de5d
e2e/openapi-subscriptions/services/api/index.ts
@@ -9,13 +9,13 @@ const app = createRouter().route({
9
handler(req) {
10
const subscriptionId = Date.now().toString();
11
req.json().then(async ({ callbackUrl }) => {
12
- for (let i = 0; i < 3; i++) {
+ for (let i = 0; i < 10; i++) {
13
const body = JSON.stringify({
14
timestamp: new Date().toJSON(),
15
userData: 'RANDOM_DATA',
16
});
17
const fullCallbackUrl = urljoin(callbackUrl, subscriptionId);
18
- console.info(`Webhook ping ${i + 1} out of 3 -> `, fullCallbackUrl, body);
+ console.info(`Webhook ping ${i + 1} out of 10 -> `, fullCallbackUrl, body);
19
const res = await fetch(fullCallbackUrl, {
20
method: 'POST',
21
headers: {
0 commit comments