mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-15 09:04:04 +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']);
|
|
}
|