mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	upd: return empty history
This commit is contained in:
		
							parent
							
								
									aac4c8be60
								
							
						
					
					
						commit
						e32b03a048
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -57,7 +57,7 @@ export class ApiStatusMastodon {
 | 
				
			||||||
	public async getHistory() {
 | 
						public async getHistory() {
 | 
				
			||||||
		this.fastify.get<{ Params: { id: string } }>('/v1/statuses/:id/history', async (_request, reply) => {
 | 
							this.fastify.get<{ Params: { id: string } }>('/v1/statuses/:id/history', async (_request, reply) => {
 | 
				
			||||||
			try {
 | 
								try {
 | 
				
			||||||
				reply.code(401).send({ message: 'Not Implemented' });
 | 
									reply.send([]);
 | 
				
			||||||
			} catch (e: any) {
 | 
								} catch (e: any) {
 | 
				
			||||||
				console.error(e);
 | 
									console.error(e);
 | 
				
			||||||
				reply.code(401).send(e.response.data);
 | 
									reply.code(401).send(e.response.data);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue