From 24d84ee2b43594ca956bc64b6391536d1f4ef99a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Mon, 17 May 2021 13:12:43 +0200 Subject: [PATCH] fix erroneous import --- packages/builder/src/stores/portal/users.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/stores/portal/users.js b/packages/builder/src/stores/portal/users.js index 2f3bc972c5..f061566161 100644 --- a/packages/builder/src/stores/portal/users.js +++ b/packages/builder/src/stores/portal/users.js @@ -1,5 +1,5 @@ import { writable } from "svelte/store" -import api, { get } from "builderStore/api" +import api, { post } from "builderStore/api" import { update } from "lodash" export function createUsersStore() { @@ -46,6 +46,7 @@ export function createUsersStore() { const json = await res.json() return json } catch (error) { + console.log(error) return error } }