summaryrefslogtreecommitdiff
path: root/fake-service/lib/pixelated_service
diff options
context:
space:
mode:
Diffstat (limited to 'fake-service/lib/pixelated_service')
-rw-r--r--fake-service/lib/pixelated_service/server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/fake-service/lib/pixelated_service/server.rb b/fake-service/lib/pixelated_service/server.rb
index d4b9e354..8b29af83 100644
--- a/fake-service/lib/pixelated_service/server.rb
+++ b/fake-service/lib/pixelated_service/server.rb
@@ -17,6 +17,7 @@ module PixelatedService
get '/' do File.read(File.join(settings.root, 'public', 'index.html')) end
end
+ get '/disabled_features' do json [] end
get '/mails' do json mails(params["q"], (params["p"] || 0).to_i, (params["w"] || -1).to_i) end
delete '/mails' do json delete_mails(params["q"], (params["p"] || 0).to_i, (params["w"] || -1).to_i, params["idents"]) end
post '/mails/read' do json readmails(params["idents"], true) end