Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-2158: Subscription_type ping parameter not sending on login #606

Merged
merged 4 commits into from Sep 28, 2020
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Fix linter

  • Loading branch information
benstrumeyer committed Sep 18, 2020
commit f0897cce68697d2a6c1d20e184d72a5c60d581cf
@@ -22,7 +22,7 @@ import conf from './Conf';
import dispatcher from './Dispatcher';
import { log } from '../utils/common';
import Api from '../utils/api';
import metrics from '../classes/Metrics';
import metrics from './Metrics';

const api = new Api();
const {
@@ -163,7 +163,7 @@ class Account {
/**
* @return {array} All subscriptions the user has, empty if none
*/
getUserSubscriptionData = (options) => (
getUserSubscriptionData = options => (
this._getUserID()
.then(userID => api.get('stripe/customers', userID, 'cards,subscriptions'))
.then((res) => {
ProTip! Use n and p to navigate between commits in a pull request.