Skip to content

Commit

Permalink
Merge pull request #203 from voxter/DEV-164-version-management-fix
Browse files Browse the repository at this point in the history
DEV-164: Added Sails call to init version updates
  • Loading branch information
ArekSredzki authored Oct 5, 2019
2 parents 9e3f538 + 61d474a commit 900e469
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/js/core/data/data-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,10 @@ angular.module('app.core.data.service', [
$sails.get('/api/channel'),

// Only sent to watch for asset updates
$sails.get('/api/asset')
$sails.get('/api/asset'),

// Only sent to watch for version updates
$sails.get('/api/version')
])
.then(function(responses) {
versions = responses[0];
Expand Down

0 comments on commit 900e469

Please sign in to comment.