fix erroneous import

This commit is contained in:
Keviin Åberg Kultalahti 2021-05-17 13:12:43 +02:00
parent 0104a7a1ff
commit e12ba0fa38
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
import { writable } from "svelte/store" import { writable } from "svelte/store"
import api, { get } from "builderStore/api" import api, { post } from "builderStore/api"
import { update } from "lodash" import { update } from "lodash"
export function createUsersStore() { export function createUsersStore() {
@ -46,6 +46,7 @@ export function createUsersStore() {
const json = await res.json() const json = await res.json()
return json return json
} catch (error) { } catch (error) {
console.log(error)
return error return error
} }
} }