Remove unnecessary argument

master
Sven Slootweg 8 years ago
parent 8a9864ea81
commit d4e5ca105e

@ -1,3 +1,5 @@
#!/usr/bin/env node
'use strict'; 'use strict';
const errorReporter = require("./src/error-reporting"); const errorReporter = require("./src/error-reporting");
@ -57,7 +59,7 @@ app.ws("/stream", (ws, req) => {
if (message.all === true) { if (message.all === true) {
client.send({ client.send({
type: "backlog", type: "backlog",
results: scraper.pasteStore.all(message.since) results: scraper.pasteStore.all()
}); });
} else if (typeof message.since === "number") { } else if (typeof message.since === "number") {
client.send({ client.send({

Loading…
Cancel
Save