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
2023-10-06 15:03:32 +01:00

8 lines
297 B
TypeScript

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']);
}