From a0074bcaac04c78baceaf610e20d5dcdfdd12f05 Mon Sep 17 00:00:00 2001 From: Raccoon Date: Sat, 24 Jul 2021 01:09:31 +0800 Subject: [PATCH] fix: lint Signed-off-by: Raccoon --- public/js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/index.js b/public/js/index.js index c1ba91f5..1ac62a4b 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -34,7 +34,7 @@ import { noteAlias, urlpath, version, - updateNoteAliasConfig, + updateNoteAliasConfig } from './lib/config' import { @@ -1243,7 +1243,7 @@ const updateNoteAlias = (newAlias = '') => { $.ajax({ method: 'PATCH', url: `/api/notes/${noteid}/alias`, - dataType: "json", + dataType: 'json', contentType: 'application/json;charset=utf-8', data: JSON.stringify({ alias: newAlias