@@ -351,7 +351,7 @@ export const actions = {
351351 fcm_token : phone . fcm_token ,
352352 phone_number : phone . phone_number ,
353353 message_expiration_seconds : parseInt (
354- phone . message_expiration_seconds . toString ( ) ,
354+ phone . message_expiration_seconds . toString ( )
355355 ) ,
356356 max_send_attempts : parseInt ( phone . max_send_attempts . toString ( ) ) ,
357357 messages_per_minute : parseInt ( phone . messages_per_minute . toString ( ) ) ,
@@ -371,7 +371,7 @@ export const actions = {
371371
372372 async handleAxiosError (
373373 context : ActionContext < State , State > ,
374- error : AxiosError ,
374+ error : AxiosError
375375 ) {
376376 const errorMessage =
377377 error . response ?. data ?. data [ Object . keys ( error . response ?. data ?. data ) [ 0 ] ] [ 0 ]
@@ -406,7 +406,7 @@ export const actions = {
406406
407407 async sendMessage (
408408 context : ActionContext < State , State > ,
409- request : SendMessageRequest ,
409+ request : SendMessageRequest
410410 ) {
411411 await axios . post ( '/v1/messages/send' , request )
412412 await Promise . all ( [
@@ -421,7 +421,7 @@ export const actions = {
421421
422422 addNotification (
423423 context : ActionContext < State , State > ,
424- request : NotificationRequest ,
424+ request : NotificationRequest
425425 ) {
426426 context . commit ( 'setNotification' , request )
427427 } ,
@@ -436,7 +436,7 @@ export const actions = {
436436
437437 async loadThreadMessages (
438438 context : ActionContext < State , State > ,
439- threadId : string | null ,
439+ threadId : string | null
440440 ) {
441441 await context . commit ( 'setThreadId' , threadId )
442442 const response = await axios . get ( '/v1/messages' , {
@@ -451,7 +451,7 @@ export const actions = {
451451
452452 async setAuthUser (
453453 context : ActionContext < State , State > ,
454- user : AuthUser | null | undefined ,
454+ user : AuthUser | null | undefined
455455 ) {
456456 const userChanged = user ?. id !== context . getters . getAuthUser ?. id
457457
@@ -468,7 +468,7 @@ export const actions = {
468468 ] )
469469
470470 const phone = context . getters . getPhones . find (
471- ( x : Phone ) => x . id === context . getters . getUser . active_phone_id ,
471+ ( x : Phone ) => x . id === context . getters . getUser . active_phone_id
472472 )
473473 if ( phone ) {
474474 await context . dispatch ( 'setOwner' , phone . phone_number )
@@ -478,7 +478,7 @@ export const actions = {
478478 async onAuthStateChanged (
479479 context : ActionContext < State , State > ,
480480 // @ts -ignore
481- { authUser } ,
481+ { authUser }
482482 ) {
483483 if ( authUser == null ) {
484484 context . commit ( 'setAuthUser' , null )
@@ -511,7 +511,7 @@ export const actions = {
511511
512512 async updateThread (
513513 context : ActionContext < State , State > ,
514- payload : { threadId : string ; isArchived : boolean } ,
514+ payload : { threadId : string ; isArchived : boolean }
515515 ) {
516516 await axios . put ( `/v1/message-threads/${ payload . threadId } ` , {
517517 is_archived : payload . isArchived ,
0 commit comments