Skip to content

Commit

Permalink
Changed var to const
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdrgn2k committed May 26, 2018
1 parent c3437c6 commit 143efc8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/view.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const l = process.argv[2];

var ssbClient = require('ssb-client');
var ssbKeys = require('ssb-keys');
var ssbFeed = require('ssb-feed');
var pull = require('pull-stream');
const ssbClient = require('ssb-client');
const ssbKeys = require('ssb-keys');
const ssbFeed = require('ssb-feed');
const pull = require('pull-stream');

var keyz = ssbKeys.load('/var/www/backend/keys/' + l , function(err, k) {
const keyz = ssbKeys.load('/var/www/backend/keys/' + l , function(err, k) {
ssbClient(keyz,
function (err, sbot) {
pull(
Expand Down

0 comments on commit 143efc8

Please sign in to comment.