From 846038a69c4cde10417ce54b280de3624d87d45c Mon Sep 17 00:00:00 2001 From: kumavis Date: Fri, 29 Mar 2019 12:39:29 +0800 Subject: notice-controller - make markAllNoticesRead sync --- app/scripts/notice-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/scripts') diff --git a/app/scripts/notice-controller.js b/app/scripts/notice-controller.js index 050fca9c8..63b422c5b 100644 --- a/app/scripts/notice-controller.js +++ b/app/scripts/notice-controller.js @@ -58,7 +58,7 @@ module.exports = class NoticeController extends EventEmitter { } } - async markAllNoticesRead () { + markAllNoticesRead () { const noticeList = this.getNoticesList() noticeList.forEach(notice => { notice.read = true -- cgit