uhhh so yeah, friking parallel uploads r broken with surrdb v2.1
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user