1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-15 21:05:48 -04:00

Fixed: Integration Unit Tests (#2500)

This commit is contained in:
Qstick
2018-02-13 19:10:49 +01:00
committed by Leonardo Galli
parent 081d8a8e53
commit b3e46d02c6
26 changed files with 423 additions and 564 deletions

View File

@@ -3,7 +3,7 @@ var MovieModel = require('../Movies/MovieModel');
var _ = require('underscore');
module.exports = Backbone.Collection.extend({
url : window.NzbDrone.ApiRoot + '/movies/lookup',
url : window.NzbDrone.ApiRoot + '/movie/lookup',
model : MovieModel,
parse : function(response) {

View File

@@ -25,7 +25,7 @@ module.exports = NzbDroneCell.extend({
var data = field.val();
var promise = $.ajax({
url : window.NzbDrone.ApiRoot + '/movies/lookup/tmdb?tmdbId=' + data,
url : window.NzbDrone.ApiRoot + '/movie/lookup/tmdb?tmdbId=' + data,
type : 'GET',
});