mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fixed eslint issue
This commit is contained in:
parent
cffce564ea
commit
a313f941c5
@ -1,6 +1,5 @@
|
||||
import request from 'request'
|
||||
|
||||
|
||||
const asyncForEach = async (array, callback) => {
|
||||
for (let index = 0; index < array.length; index++) {
|
||||
await callback(array[index], index, array)
|
||||
@ -19,7 +18,7 @@ const fetch = url => {
|
||||
})
|
||||
}
|
||||
|
||||
const createOrUpdateLocations = async (userId, locationName, driver) =>{
|
||||
const createOrUpdateLocations = async (userId, locationName, driver) => {
|
||||
if (!locationName) {
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user