Skip to content

Commit

Permalink
Remove superfluous cbv_Flow id
Browse files Browse the repository at this point in the history
  • Loading branch information
allthesignals committed May 2, 2024
1 parent 0a464d9 commit 971d83b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions app/javascript/controllers/cbv_flows_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ export default class extends Controller {
connect() {
// check for this value when connected
this.argyleUserToken = metaContent('argyle_user_token');

const cbvFlowId = metaContent('cbv_flow_id');
this.cable.subscriptions.create({ channel: 'ArgylePaystubsChannel', id: cbvFlowId }, {
this.cable.subscriptions.create({ channel: 'ArgylePaystubsChannel' }, {
connected: () => {
console.log("Connected to the channel:", this);
},
Expand Down
1 change: 0 additions & 1 deletion app/views/cbv_flows/employer_search.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<% content_for :head do %>
<%= tag :meta, name: :argyle_user_token, content: @argyle_user_token %>
<%= tag :meta, name: :argyle_sandbox, content: ENV['ARGYLE_SANDBOX'] %>
<%= tag :meta, name: :cbv_flow_id, content: @cbv_flow.id %>
<% end %>

<h2>Get payment info from your employer.</h2>
Expand Down

0 comments on commit 971d83b

Please sign in to comment.