bug-fixed issue with calling the endpoint
This commit is contained in:
@@ -29,7 +29,7 @@ const siteServerPath = () => {
|
||||
return process.env.NEXT_PUBLIC_APP_MAIN_API;
|
||||
}
|
||||
|
||||
const postAuxEnd = (basePath, path, postData) => {
|
||||
const postAuxEnd = (basePath, path, postData, media=false) => {
|
||||
// const basePath = media ? process.env.NEXT_PUBLIC_APP_MAIN_API : process.env.NEXT_PUBLIC_APP_MAIN_API;
|
||||
let newPostData = {}
|
||||
if (!media) {
|
||||
|
||||
Reference in New Issue
Block a user