Skip to content

Commit 5796373

Browse files
author
nzwsch
committed
Merge pull request #89 from sinatrasapporo/databases
Fix SyntaxError at L97 #86
2 parents 3baf29e + 727ee96 commit 5796373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databases/mongo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ end
9494
put '/update/:id/?' do
9595
content_type :json
9696
id = object_id(params[:id])
97-
settings.mongo_db['test'].update(:_id => id, params)
97+
settings.mongo_db['test'].update({:_id => id}, params)
9898
document_by_id(id).to_json
9999
end
100100

0 commit comments

Comments
 (0)