Changeset 9946a68 in Klonkt for src/services/guardianship/delivery.js
- Timestamp:
- 09/04/2026 12:12:19 PM (5 days ago)
- Branches:
- main
- Children:
- 1d1fdc9
- Parents:
- 8151340
- File:
-
- 1 edited
-
src/services/guardianship/delivery.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/services/guardianship/delivery.js
r8151340 r9946a68 12 12 */ 13 13 import crypto from 'crypto'; 14 import db from '../../config/database.js';14 import db, { NU_ISO } from '../../config/database.js'; 15 15 import { carriesGuardians } from './context.js'; 16 16 … … 124 124 const id = crypto.randomUUID(); 125 125 db.prepare(`INSERT INTO ap_outbox (id, site_slug, post_id, post_slug, in_reply_to, to_actor, to_handle, content, language, attachments, visibility, to_actors, help_request, wave, away_until, created_at) 126 VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, CURRENT_TIMESTAMP)`)126 VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,${NU_ISO})`) 127 127 .run(id, site.slug, '', null, inReplyTo || null, resolved[0].uri, resolved[0].handle, content, lang, media.length ? JSON.stringify(media) : null, 'direct', JSON.stringify(resolved.map((r) => r.uri)), helpRequest ? 1 : 0, wave ? 1 : 0, awayUntil || null); 128 128 const row = getOutboxRow(id);
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)