uhhh so yeah, friking parallel uploads r broken with surrdb v2.1

This commit is contained in:
bootunloader
2025-01-25 23:54:24 +02:00
parent aa73254a87
commit 2d1c9f3fc1
2 changed files with 11 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
import Surreal, { RecordId, StringRecordId } from "surrealdb";
import Surreal, { StringRecordId } from "surrealdb";
export type { QueryResult } from "surrealdb";
try {
@@ -19,8 +19,6 @@ const db = new Surreal();
export function parseToRID(idStr: string) {
return new StringRecordId(idStr);
// const [a, b] = idStr.split(":");
// return new RecordId(a, b);
}
if (CONFIG.url.length > 0) {