We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c74979 commit 72c9d04Copy full SHA for 72c9d04
lib/note/index.js
@@ -34,7 +34,7 @@ async function getNoteById (noteId, { includeUser } = { includeUser: false }) {
34
}
35
36
async function createNote (userId, noteAlias) {
37
- if (!config.allowAnonymous && !!userId) {
+ if (!config.allowAnonymous && !userId) {
38
throw new Error('can not create note')
39
40
0 commit comments