Commit 34821f06 authored by Argo Roots's avatar Argo Roots
Browse files

Disable Fleep integration

parent e6c33b2b
This diff is collapsed.
...@@ -80,21 +80,21 @@ angular.module('ekrkApp', ['ngRoute', 'ngResource']) ...@@ -80,21 +80,21 @@ angular.module('ekrkApp', ['ngRoute', 'ngResource'])
}) })
}) })
.success(function(data) { .success(function(data) {
$http({ // $http({
method : 'POST', // method : 'POST',
url : FLEEP_HOOK_URL, // url : FLEEP_HOOK_URL,
data : { // data : {
'message': 'https://entu.keeleressursid.ee/entity/person/' + $scope.id // 'message': 'https://entu.keeleressursid.ee/entity/person/' + $scope.id
} // }
}) // })
.success(function(data) { // .success(function(data) {
$scope.sending = false $scope.sending = false
$scope.sent = true $scope.sent = true
}) // })
.error(function(data) { // .error(function(data) {
cl(data.error) // cl(data.error)
$scope.sending = false // $scope.sending = false
}) // })
}) })
.error(function(data) { .error(function(data) {
cl(data.error) cl(data.error)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment