Handle no response / id not found for comments

This commit is contained in:
Lncvrt committed 2026-02-21 13:13:43 -07:00
1 parent 18195db1fb
commit c4b6f5757c
3 files changed
+3

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ export const handler = async (handler: Context) => {
)
const responseText = request.data as string
if (responseText == '#0:0:10') return jsonResponse([])
const responseSplit = responseText
.split('|')
.map(x => x.split(':'))
@@ -28,6 +28,7 @@ export const handler = async (handler: Context) => {
)
const responseText = request.data as string
if (responseText == '-1') return jsonResponse([])
const responseSplit = responseText
.split('|')
.map(x => x.split(':'))
+1
View File
@@ -34,6 +34,7 @@ export const handler = async (handler: Context) => {
)
const responseText = request.data as string
if (responseText == '#0:0:10') return jsonResponse([])
const responseSplit = responseText
.split('|')
.map(x => x.split(':'))