build: upgraded next version from 12.2.2 to 13

This commit is contained in:
venkatesh-soulpage 2022-12-01 01:06:28 +05:30
parent c35ac50c7e
commit fd7f892893
26 changed files with 1484 additions and 1760 deletions

View file

@ -14,11 +14,9 @@ import {
// services
import APIService from "lib/services/api.service";
const { NEXT_PUBLIC_API_BASE_URL } = process.env;
class ProjectServices extends APIService {
constructor() {
super(NEXT_PUBLIC_API_BASE_URL || "http://localhost:8000");
super(process.env.NEXT_PUBLIC_API_BASE_URL || "http://localhost:8000");
}
async createProject(workspace_slug: string, data: any): Promise<any> {