postInfo(ctx, payload) {
    return new Promise((resolve, reject) => {
      axios
        .get("admin/posts", { params: payload })
        .then(response => {
          if (localStorage.getItem("token")) {
            ctx.commit("SET_POSTINFO", response.data.data);
            resolve(response);
          }
        })
        .catch(error => {
          reject(error);
        });
    });
  }
/**
  // Post Info
  # Fetch user Post Info
  **/
Post Info
Fetch user Post Info
Post Info Fetch user Post Info
postInfo(ctx, payload) {
    return new Promise((resolve, reject) => {
      axios
        .get("admin/posts", { params: payload })
        .then(response => {
          if (localStorage.getItem("token")) {
            ctx.commit("SET_POSTINFO", response.data.data);
            resolve(response);
          }
        })
        .catch(error => {
          reject(error);
        });
    });
  }
postInfo ( ctx , payload ) { return new Promise ( ( resolve , reject ) => { axios . get ( "admin/posts" , { params : payload } ) . then ( response => { if ( localStorage . getItem ( "token" ) ) { ctx . commit ( "SET_POSTINFO" , response . data . data ) ; resolve ( response ) ; } } ) . catch ( error => { reject ( error ) ; } ) ; } ) ; }
Post Info
 Fetch user Post Info
Post Info Fetch user Post Info