pipedrive_jetrockets 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cd3c135b503c05f2148433ee98ff8621c7362a32d669eef589295bb3324011f
|
4
|
+
data.tar.gz: 36631cdf4d3d0271e9badf16d31d0d708b2f9914f64df52ec07e2ed9a65dee98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b5dc1c0888e124da78c49c82a4b0f4ba8767d435765e8ff95afb60255f78b1e0a0c02a06ba5df415f6b2cc716215ee55fb2eab0133cf3256f4c7c77d1223229
|
7
|
+
data.tar.gz: f7ecad4ad33d6995efe1e7d16c9068c869d27cd063467bb804f14cecf58e5f324d1bdd93d788c0b6be55c58fcda57d897095a60b7dddb6dfa7c6e759fbe7e0bd
|
@@ -2,8 +2,8 @@ module PipedriveJetrockets
|
|
2
2
|
class EventsController < ApplicationController
|
3
3
|
skip_before_action :verify_authenticity_token
|
4
4
|
def deal_updated
|
5
|
-
current =
|
6
|
-
previous =
|
5
|
+
current = params[:current]
|
6
|
+
previous = params[:previous]
|
7
7
|
if !current[:org_id].nil? && previous[:org_id].nil?
|
8
8
|
ActiveSupport::Notifications.instrument "organisation_added", { organisation_id: current[:org_id], deal_id: current[:id]}
|
9
9
|
end
|