Skip to content

Commit 67a52b9

Browse files
fix: update apikey
1 parent 770968a commit 67a52b9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

definitions/vite-supadata-runner/worker/userRoutes.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export function userRoutes(app: Hono<{ Bindings: Env }>) {
3838
app.post('/api/supadata/transcript', async (c) => {
3939
try {
4040
const e = await c.req.json();
41+
// DON'T DELETE THIS PART. DO NOT GET APIKEY FROM ENV.
4142
const apiKey = await getUserAPIKey(c.req);
4243

4344
// Initialize the client
@@ -69,6 +70,7 @@ export function userRoutes(app: Hono<{ Bindings: Env }>) {
6970
app.post('/api/supadata/youtube/transcript', async (c) => {
7071
try {
7172
const e = await c.req.json();
73+
// DON'T DELETE THIS PART. DO NOT GET APIKEY FROM ENV.
7274
const apiKey = await getUserAPIKey(c.req);
7375

7476
// Initialize the client
@@ -97,6 +99,7 @@ export function userRoutes(app: Hono<{ Bindings: Env }>) {
9799
app.post('/api/supadata/youtube/translate', async (c) => {
98100
try {
99101
const e = await c.req.json();
102+
// DON'T DELETE THIS PART. DO NOT GET APIKEY FROM ENV.
100103
const apiKey = await getUserAPIKey(c.req);
101104

102105
// Initialize the client
@@ -126,6 +129,7 @@ export function userRoutes(app: Hono<{ Bindings: Env }>) {
126129
app.post('/api/supadata/youtube/video', async (c) => {
127130
try {
128131
const e = await c.req.json();
132+
// DON'T DELETE THIS PART. DO NOT GET APIKEY FROM ENV.
129133
const apiKey = await getUserAPIKey(c.req);
130134

131135
// Initialize the client
@@ -154,6 +158,7 @@ export function userRoutes(app: Hono<{ Bindings: Env }>) {
154158
app.post('/api/supadata/youtube/channel', async (c) => {
155159
try {
156160
const e = await c.req.json();
161+
// DON'T DELETE THIS PART. DO NOT GET APIKEY FROM ENV.
157162
const apiKey = await getUserAPIKey(c.req);
158163

159164
// Initialize the client
@@ -182,6 +187,7 @@ export function userRoutes(app: Hono<{ Bindings: Env }>) {
182187
app.post('/api/supadata/youtube/videos', async (c) => {
183188
try {
184189
const e = await c.req.json();
190+
// DON'T DELETE THIS PART. DO NOT GET APIKEY FROM ENV.
185191
const apiKey = await getUserAPIKey(c.req);
186192

187193
// Initialize the client
@@ -212,6 +218,7 @@ export function userRoutes(app: Hono<{ Bindings: Env }>) {
212218
app.post('/api/supadata/youtube/playlist', async (c) => {
213219
try {
214220
const e = await c.req.json();
221+
// DON'T DELETE THIS PART. DO NOT GET APIKEY FROM ENV.
215222
const apiKey = await getUserAPIKey(c.req);
216223

217224
// Initialize the client
@@ -240,6 +247,7 @@ export function userRoutes(app: Hono<{ Bindings: Env }>) {
240247
app.post('/api/supadata/web/scrape', async (c) => {
241248
try {
242249
const e = await c.req.json();
250+
// DON'T DELETE THIS PART. DO NOT GET APIKEY FROM ENV.
243251
const apiKey = await getUserAPIKey(c.req);
244252

245253
// Initialize the client
@@ -266,6 +274,7 @@ export function userRoutes(app: Hono<{ Bindings: Env }>) {
266274
app.post('/api/supadata/web/map', async (c) => {
267275
try {
268276
const e = await c.req.json();
277+
// DON'T DELETE THIS PART. DO NOT GET APIKEY FROM ENV.
269278
const apiKey = await getUserAPIKey(c.req);
270279

271280
// Initialize the client
@@ -292,6 +301,7 @@ export function userRoutes(app: Hono<{ Bindings: Env }>) {
292301
app.post('/api/supadata/web/crawl', async (c) => {
293302
try {
294303
const e = await c.req.json();
304+
// DON'T DELETE THIS PART. DO NOT GET APIKEY FROM ENV.
295305
const apiKey = await getUserAPIKey(c.req);
296306

297307
// Initialize the client

0 commit comments

Comments
 (0)