fix: get op returning index data
This commit is contained in:
parent
db13993e2f
commit
b733f1f1d0
|
@ -45,7 +45,7 @@ export async function proxyGetOp(
|
||||||
): Promise<GetOperationReturn> {
|
): Promise<GetOperationReturn> {
|
||||||
let httpRes: KyResponse
|
let httpRes: KyResponse
|
||||||
try {
|
try {
|
||||||
httpRes = await proxyRequest(url, 'index', search, data)
|
httpRes = await proxyRequest(url, 'get', search, data)
|
||||||
if (httpRes.status !== 200) {
|
if (httpRes.status !== 200) {
|
||||||
return 404
|
return 404
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue