Skip to content

Commit

Permalink
Update backend.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tech4him1 authored Feb 23, 2018
1 parent 1f5b7de commit 5c25c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class Backend {
if (!selectAllowNewEntries(collection)) {
throw (new Error("Not allowed to create new entries in this collection"));
}
const slug = slugFormatter(collection.get("slug"), entryDraft.getIn(["entry", "data"]), collection.get("slug_type", config.get("slug_type")));
const slug = slugFormatter(collection.get("slug"), entryDraft.getIn(["entry", "data"]), config.get("slug_type"));
const path = selectEntryPath(collection, slug);
entryObj = {
path,
Expand Down

0 comments on commit 5c25c2d

Please sign in to comment.