mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
8 lines
297 B
TypeScript
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']);
|
|
}
|