linted
This commit is contained in:
parent
d36603a57c
commit
e33faa049e
|
@ -1,3 +1,4 @@
|
|||
import { chatApiUrl } from '../../utils/config'
|
||||
// inbox
|
||||
import { createGraphQLClient } from '../createGraphQLClient'
|
||||
import createChat from '../mutation/chat/chat-create'
|
||||
|
@ -21,7 +22,6 @@ import {
|
|||
QueryLoad_ChatsArgs,
|
||||
QueryLoad_Messages_ByArgs,
|
||||
} from '../schema/chat.gen'
|
||||
import { chatApiUrl } from '../../utils/config'
|
||||
|
||||
export const inboxClient = {
|
||||
private: null,
|
||||
|
|
|
@ -16,6 +16,7 @@ import type {
|
|||
Topic,
|
||||
} from '../schema/core.gen'
|
||||
|
||||
import { coreApiUrl } from '../../utils/config'
|
||||
import { createGraphQLClient } from '../createGraphQLClient'
|
||||
import createArticle from '../mutation/core/article-create'
|
||||
import deleteShout from '../mutation/core/article-delete'
|
||||
|
@ -46,7 +47,6 @@ import reactionsLoadBy from '../query/core/reactions-load-by'
|
|||
import topicBySlug from '../query/core/topic-by-slug'
|
||||
import topicsAll from '../query/core/topics-all'
|
||||
import topicsRandomQuery from '../query/core/topics-random'
|
||||
import { coreApiUrl } from "../../utils/config"
|
||||
|
||||
const publicGraphQLClient = createGraphQLClient(coreApiUrl)
|
||||
|
||||
|
|
|
@ -16,4 +16,4 @@ const defaultChatUrl = 'https://chat.discours.io'
|
|||
export const chatApiUrl = import.meta.env.PUBLIC_CHAT_API || defaultChatUrl
|
||||
|
||||
const defaultAuthUrl = 'https://auth.discours.io'
|
||||
export const authApiUrl = import.meta.env.PUBLIC_AUTH_API || defaultAuthUrl
|
||||
export const authApiUrl = import.meta.env.PUBLIC_AUTH_API || defaultAuthUrl
|
||||
|
|
Loading…
Reference in New Issue
Block a user