Skip to content

Commit 9e2e4ec

Browse files
authored
Update index.js
1 parent 6c53978 commit 9e2e4ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ module.exports = class Db {
8585
// autogenerate id
8686
createId(collection, resource) {
8787
if (resource.title) {
88-
return transliterate(newResource.title);
88+
return transliterate(resource.title);
8989
} else {
9090
return uuid();
9191
}

0 commit comments

Comments
 (0)