|
@@ -66,10 +66,5 @@ export const exportAsMarkdown = (pageId: string, revisionId: string, format: str
|
|
|
* send request to fix broken paths caused by unexpected events such as server shutdown while renaming page paths
|
|
* send request to fix broken paths caused by unexpected events such as server shutdown while renaming page paths
|
|
|
*/
|
|
*/
|
|
|
export const resumeRenameOperation = async(pageId: string): Promise<void> => {
|
|
export const resumeRenameOperation = async(pageId: string): Promise<void> => {
|
|
|
- try {
|
|
|
|
|
- await apiv3Post('/pages/resume-rename', { pageId });
|
|
|
|
|
- }
|
|
|
|
|
- catch (err) {
|
|
|
|
|
- throw err;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ await apiv3Post('/pages/resume-rename', { pageId });
|
|
|
};
|
|
};
|