@@ -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