repo details page working completely
This commit is contained in:
@@ -65,6 +65,7 @@ async function request<T>(
|
||||
throw new ApiError(res.status, message)
|
||||
}
|
||||
|
||||
if (res.status === 204) return schema.parse(null)
|
||||
const data = await res.json()
|
||||
return schema.parse(data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user