@@ -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 await axios . post ( '/v1/messages/send' , request )
421421 await Promise . all ( [
@@ -430,7 +430,7 @@ export const actions = {
430430
431431 addNotification (
432432 context : ActionContext < State , State > ,
433- request : NotificationRequest ,
433+ request : NotificationRequest
434434 ) {
435435 context . commit ( 'setNotification' , request )
436436 } ,
@@ -445,7 +445,7 @@ export const actions = {
445445
446446 async loadThreadMessages (
447447 context : ActionContext < State , State > ,
448- threadId : string | null ,
448+ threadId : string | null
449449 ) {
450450 await context . commit ( 'setThreadId' , threadId )
451451 const response = await axios . get ( '/v1/messages' , {
@@ -460,7 +460,7 @@ export const actions = {
460460
461461 async setAuthUser (
462462 context : ActionContext < State , State > ,
463- user : AuthUser | null | undefined ,
463+ user : AuthUser | null | undefined
464464 ) {
465465 const userChanged = user ?. id !== context . getters . getAuthUser ?. id
466466
@@ -477,7 +477,7 @@ export const actions = {
477477 ] )
478478
479479 const phone = context . getters . getPhones . find (
480- ( x : Phone ) => x . id === context . getters . getUser . active_phone_id ,
480+ ( x : Phone ) => x . id === context . getters . getUser . active_phone_id
481481 )
482482 if ( phone ) {
483483 await context . dispatch ( 'setOwner' , phone . phone_number )
@@ -487,7 +487,7 @@ export const actions = {
487487 async onAuthStateChanged (
488488 context : ActionContext < State , State > ,
489489 // @ts -ignore
490- { authUser } ,
490+ { authUser }
491491 ) {
492492 if ( authUser == null ) {
493493 context . commit ( 'setAuthUser' , null )
@@ -520,7 +520,7 @@ export const actions = {
520520
521521 async updateThread (
522522 context : ActionContext < State , State > ,
523- payload : { threadId : string ; isArchived : boolean } ,
523+ payload : { threadId : string ; isArchived : boolean }
524524 ) {
525525 await axios . put ( `/v1/message-threads/${ payload . threadId } ` , {
526526 is_archived : payload . isArchived ,
@@ -573,7 +573,7 @@ export const actions = {
573573
574574 createWebhook (
575575 context : ActionContext < State , State > ,
576- payload : RequestsWebhookStore ,
576+ payload : RequestsWebhookStore
577577 ) {
578578 return new Promise < EntitiesWebhook > ( ( resolve , reject ) => {
579579 axios
@@ -621,7 +621,7 @@ export const actions = {
621621
622622 updateWebhook (
623623 context : ActionContext < State , State > ,
624- payload : RequestsWebhookUpdate & { id : string } ,
624+ payload : RequestsWebhookUpdate & { id : string }
625625 ) {
626626 return new Promise < EntitiesWebhook > ( ( resolve , reject ) => {
627627 axios
0 commit comments