1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/lib/services/rest/routes/revisions.ts

8 lines
297 B
TypeScript
Raw Normal View History

2023-10-06 16:03:32 +02:00
import defaultAction from '../utils/defaultAction';
import { ModelType } from '../../../BaseModel';
import { Request } from '../Api';
export default async function(request: Request, id: string = null, link: string = null) {
return defaultAction(ModelType.Revision, request, id, link, ['id']);
}