Skip to content

Commit

Permalink
mac filename with colon fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fujio-Turner committed Aug 24, 2024
1 parent 2d65c0c commit c888a8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example_sync_functions/3.sync_function_run.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function(doc, oldDoc) {

let a;
try {
a = doc._id.split(":");
a = doc._id.split("-");
} catch (error) {
throw({ forbidden: "error: invalid document ID format" });
}
Expand Down
1 change: 1 addition & 0 deletions jsons/job-12345.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"_id":"job-12345","channels":["bob"],"docType":"job","status":"pending","zone":100,"jobId":12345}

0 comments on commit c888a8a

Please sign in to comment.