Skip to content

Commit ce15f98

Browse files
update index.rb
1 parent 2830464 commit ce15f98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

api/index.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ def send_response(response, status, payload)
2929
if record.nil?
3030
next send_response(response, false, "INCOMPLETE_PARAMETERS")
3131
end
32-
pdb = PocketDatabase.new(token: token)
33-
pdb.write(record, request.json)
32+
# pdb = PocketDatabase.new(token: token)
33+
# pdb.write(record, request.json)
3434
next send_response(response, true, {
35-
token: pdb.token,
36-
list: pdb.records
35+
# token: pdb.token,
36+
# list: pdb.records
3737
})
3838
rescue Exception => e
3939
next send_response(response, false, {

0 commit comments

Comments
 (0)