fix. config -> runtimeConfig 명칭 통일
This commit is contained in:
@@ -37,8 +37,8 @@ const usePreregist = () => {
|
||||
const getPreregist = async (req: ReqPreorderSelectEvent) => {
|
||||
let res: ResPreorderSelectEvent = {} as ResPreorderSelectEvent
|
||||
try {
|
||||
const config = useRuntimeConfig()
|
||||
const stoveApiBaseUrl = config.public.stoveApiUrl
|
||||
const runtimeConfig = useRuntimeConfig()
|
||||
const stoveApiBaseUrl = runtimeConfig.public.stoveApiUrl
|
||||
|
||||
const url = `${stoveApiBaseUrl}/pub-comm/v1.0/Preorder/SelectEvent`
|
||||
const headers = {
|
||||
@@ -99,8 +99,8 @@ const usePreregist = () => {
|
||||
const setPreregist = async (req: ReqPreorderReserveDataUpdate) => {
|
||||
let res: ResPreorderReserveDataUpdate = {} as ResPreorderReserveDataUpdate
|
||||
try {
|
||||
const config = useRuntimeConfig()
|
||||
const stoveApiBaseUrl = config.public.stoveApiUrl
|
||||
const runtimeConfig = useRuntimeConfig()
|
||||
const stoveApiBaseUrl = runtimeConfig.public.stoveApiUrl
|
||||
|
||||
const url = `${stoveApiBaseUrl}/pub-comm/v1.0/Preorder/ReserveDataUpdate`
|
||||
const headers = {
|
||||
|
||||
Reference in New Issue
Block a user