Changeset 9946a68 in Klonkt for src/services/ArchiveImportService.js
- Timestamp:
- 09/04/2026 12:12:19 PM (4 days ago)
- Branches:
- main
- Children:
- 1d1fdc9
- Parents:
- 8151340
- File:
-
- 1 edited
-
src/services/ArchiveImportService.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/services/ArchiveImportService.js
r8151340 r9946a68 23 23 import crypto from 'crypto'; 24 24 import { randomUUID } from 'crypto'; 25 import db from '../config/database.js';25 import db, { NU_ISO } from '../config/database.js'; 26 26 import { MEDIA_ROOT, AUDIO_ROOT } from '../config/paths.js'; 27 27 import { FORMAT_VERSION, parseFollowingCsv } from './ArchiveExportService.js'; … … 413 413 const insReply = db.prepare(`INSERT OR IGNORE INTO ap_interactions 414 414 (kind, post_id, object_uri, actor_uri, actor_name, actor_handle, content, published, parent_uri, created_at) 415 VALUES ('reply', ?, ?, ?, ?, ?, ?, ?, ?, CURRENT_TIMESTAMP)`);415 VALUES ('reply', ?, ?, ?, ?, ?, ?, ?, ?, ${NU_ISO})`); 416 416 417 417 db.transaction(() => {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)