Skip to content

Commit

Permalink
fix: Work around syntax errors reported by eslint (#55)
Browse files Browse the repository at this point in the history
* Fix `WaveComService` constructor

* Fix `MeterDetailService`
  • Loading branch information
dmohns authored Mar 6, 2024
1 parent 5270299 commit 7f9b31d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import WaveComRepository from '@/plugins/wavecom-payment-provider/js/repositorie
import {ErrorHandler} from '@/plugins/bulk-registration/js/Helpers/ErrorHander'

export class WaveComService {

reasons = [];
constructor () {
this.reasons = []
}

async upload(filePath) {
const formData = new FormData()
Expand Down
4 changes: 2 additions & 2 deletions Website/ui/src/services/MeterDetailService.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export class MeterDetailService {
return {
id: person.id,
name: person.name + ' ' + person.surname,
toLowerCase: () => x.name.toLowerCase(),
toString: () => x.name
toLowerCase: () => person.name.toLowerCase(),
toString: () => person.name
}
})
} catch (e) {
Expand Down

0 comments on commit 7f9b31d

Please sign in to comment.