Skip to content

Commit f50f675

Browse files
committed
fix(backend): order outgoing activities by creation date
this way they will be sent out chronologically
1 parent ba0f953 commit f50f675

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: backend/src/modules/crossroads/activitypub/activityPub.service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ export class ActivityPubService {
251251
activityPubActivity,
252252
eq(activityPubActivity.id, activityPubActivityQueue.id),
253253
)
254+
.orderBy(asc(activityPubActivityQueue.createdOn))
254255
).map((result) => result.activityPubActivity);
255256

256257
if (outgoingActivities.length > 0) {

0 commit comments

Comments
 (0)