Skip to content

Commit 727ee96

Browse files
author
Seiichi Yonezawa
committed
Fix SyntaxError at L97 #86
1 parent 3baf29e commit 727ee96

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)