mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-03 20:21:40 +00:00
chore: update find activities
This commit is contained in:
@ -45,6 +45,9 @@ func (d *DB) ListActivities(ctx context.Context, find *store.FindActivity) ([]*s
|
||||
if find.PayloadShortcutID != nil {
|
||||
where, args = append(where, "json_extract(payload, '$.shortcutId') = ?"), append(args, *find.PayloadShortcutID)
|
||||
}
|
||||
if find.CreatedTsAfter != nil {
|
||||
where, args = append(where, "created_ts > ?"), append(args, *find.CreatedTsAfter)
|
||||
}
|
||||
|
||||
query := `
|
||||
SELECT
|
||||
|
Reference in New Issue
Block a user