mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	fix: move AP send logging earlier
This commit is contained in:
		@@ -35,7 +35,7 @@ describe('ActivityPub integration', () => {
 | 
			
		||||
			const uid = await user.create({ username: uuid });
 | 
			
		||||
			await activitypub.send('uid', 0, [`https://localhost/uid/${uid}`], { id: `${nconf.get('url')}/activity/${uuid}`, foo: 'bar' });
 | 
			
		||||
 | 
			
		||||
			assert(activitypub._sent.has(`https://localhost/activity/${uuid}`));
 | 
			
		||||
			assert(activitypub._sent.has(`${nconf.get('url')}/activity/${uuid}`));
 | 
			
		||||
		});
 | 
			
		||||
	});
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user