feat: half-implement put to SQL

pull/243/head
Josh Moore 1 year ago
parent d0e5711f65
commit 9c403a1554

@ -132,6 +132,10 @@ export const put = (sector: DataSector, key: NID, data: AssFile | AssUser): Prom
} else { } else {
// ? SQL // ? SQL
// todo: check existing
await MySql.put('assfiles', key, data);
// todo: modify users SQL files property
} }
} else { } else {
@ -152,6 +156,8 @@ export const put = (sector: DataSector, key: NID, data: AssFile | AssUser): Prom
} else { } else {
// ? SQL // ? SQL
// todo: check existing
await MySql.put('assusers', key, data);
} }
} }

Loading…
Cancel
Save