Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

refactor: set debug.report returntype to promise

thecodrre7351667db01
diff --git a/packages/core/api/debug.js b/packages/core/api/debug.js
index 3eb6efc5f..e9d36a918 100644
--- a/packages/core/api/debug.js
+++ b/packages/core/api/debug.js
@@ -26,7 +26,7 @@ export default class Debug {
* body: string,
* userId: string
* }} reportData
- * @returns {string} link to the github issue
+ * @returns {Promise<string>} link to the github issue
*/
async report(reportData) {
if (!reportData) return;