Skip to content

Commit a9bb859

Browse files
committed
Fixing prettier
1 parent 178d6fd commit a9bb859

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

web/layouts/default.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default class DefaultLayout extends Vue {
5454
if (this.$store.getters.getAuthUser && this.$store.getters.getOwner) {
5555
promises.push(
5656
this.$store.dispatch('loadThreads'),
57-
this.$store.dispatch('getHeartbeat'),
57+
this.$store.dispatch('getHeartbeat')
5858
)
5959
}
6060
@@ -66,8 +66,8 @@ export default class DefaultLayout extends Vue {
6666
promises.push(
6767
this.$store.dispatch(
6868
'loadThreadMessages',
69-
this.$store.getters.getThread.id,
70-
),
69+
this.$store.getters.getThread.id
70+
)
7171
)
7272
}
7373
await Promise.all(promises)

web/pages/billing/index.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
Your next bill is for <b>${{ plan.price }}</b> on
4646
<b>{{
4747
new Date(
48-
$store.getters.getUser.subscription_renews_at,
48+
$store.getters.getUser.subscription_renews_at
4949
).toLocaleDateString()
5050
}}</b>
5151
</p>
@@ -60,7 +60,7 @@
6060
You will be downgraded to the <b>FREE</b> plan on
6161
<b>{{
6262
new Date(
63-
$store.getters.getUser.subscription_ends_at,
63+
$store.getters.getUser.subscription_ends_at
6464
).toLocaleDateString()
6565
}}</b>
6666
</p>
@@ -112,7 +112,7 @@
112112
of the current billing period on
113113
<b>{{
114114
new Date(
115-
$store.getters.getUser.subscription_renews_at,
115+
$store.getters.getUser.subscription_renews_at
116116
).toLocaleDateString()
117117
}}</b>
118118
</p>
@@ -395,7 +395,7 @@ export default Vue.extend({
395395
plan(): PaymentPlan {
396396
return this.plans.find(
397397
(x) =>
398-
x.id === (this.$store.getters.getUser?.subscription_name || 'free'),
398+
x.id === (this.$store.getters.getUser?.subscription_name || 'free')
399399
)!
400400
},
401401
isOnFreePlan(): boolean {

web/store/index.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ export const actions = {
360360
fcm_token: phone.fcm_token,
361361
phone_number: phone.phone_number,
362362
message_expiration_seconds: parseInt(
363-
phone.message_expiration_seconds.toString(),
363+
phone.message_expiration_seconds.toString()
364364
),
365365
max_send_attempts: parseInt(phone.max_send_attempts.toString()),
366366
messages_per_minute: parseInt(phone.messages_per_minute.toString()),
@@ -380,7 +380,7 @@ export const actions = {
380380

381381
async handleAxiosError(
382382
context: ActionContext<State, State>,
383-
error: AxiosError,
383+
error: AxiosError
384384
) {
385385
const errorMessage =
386386
error.response?.data?.data[Object.keys(error.response?.data?.data)[0]][0]
@@ -415,7 +415,7 @@ export const actions = {
415415

416416
async sendMessage(
417417
context: ActionContext<State, State>,
418-
request: SendMessageRequest,
418+
request: SendMessageRequest
419419
) {
420420
try {
421421
const response = await axios.post('/v1/messages/send', request)
@@ -443,7 +443,7 @@ export const actions = {
443443

444444
addNotification(
445445
context: ActionContext<State, State>,
446-
request: NotificationRequest,
446+
request: NotificationRequest
447447
) {
448448
context.commit('setNotification', request)
449449
},
@@ -458,7 +458,7 @@ export const actions = {
458458

459459
async loadThreadMessages(
460460
context: ActionContext<State, State>,
461-
threadId: string | null,
461+
threadId: string | null
462462
) {
463463
await context.commit('setThreadId', threadId)
464464
const response = await axios.get('/v1/messages', {
@@ -473,7 +473,7 @@ export const actions = {
473473

474474
async setAuthUser(
475475
context: ActionContext<State, State>,
476-
user: AuthUser | null | undefined,
476+
user: AuthUser | null | undefined
477477
) {
478478
const userChanged = user?.id !== context.getters.getAuthUser?.id
479479

@@ -490,7 +490,7 @@ export const actions = {
490490
])
491491

492492
const phone = context.getters.getPhones.find(
493-
(x: Phone) => x.id === context.getters.getUser.active_phone_id,
493+
(x: Phone) => x.id === context.getters.getUser.active_phone_id
494494
)
495495
if (phone) {
496496
await context.dispatch('setOwner', phone.phone_number)
@@ -500,7 +500,7 @@ export const actions = {
500500
async onAuthStateChanged(
501501
context: ActionContext<State, State>,
502502
// @ts-ignore
503-
{ authUser },
503+
{ authUser }
504504
) {
505505
if (authUser == null) {
506506
context.commit('setAuthUser', null)
@@ -533,7 +533,7 @@ export const actions = {
533533

534534
async updateThread(
535535
context: ActionContext<State, State>,
536-
payload: { threadId: string; isArchived: boolean },
536+
payload: { threadId: string; isArchived: boolean }
537537
) {
538538
await axios.put(`/v1/message-threads/${payload.threadId}`, {
539539
is_archived: payload.isArchived,
@@ -586,7 +586,7 @@ export const actions = {
586586

587587
createWebhook(
588588
context: ActionContext<State, State>,
589-
payload: RequestsWebhookStore,
589+
payload: RequestsWebhookStore
590590
) {
591591
return new Promise<EntitiesWebhook>((resolve, reject) => {
592592
axios
@@ -634,7 +634,7 @@ export const actions = {
634634

635635
updateWebhook(
636636
context: ActionContext<State, State>,
637-
payload: RequestsWebhookUpdate & { id: string },
637+
payload: RequestsWebhookUpdate & { id: string }
638638
) {
639639
return new Promise<EntitiesWebhook>((resolve, reject) => {
640640
axios

0 commit comments

Comments
 (0)