Revert "build: bumped next version from 12.2.2 to 13"

This commit is contained in:
Vamsi Kurama 2022-12-01 03:09:33 +05:30 committed by GitHub
parent 38c4d8e708
commit 90243685cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 1760 additions and 1484 deletions

View file

@ -1,16 +1,13 @@
// api routes
import {
SIGN_IN_ENDPOINT,
SOCIAL_AUTH_ENDPOINT,
MAGIC_LINK_GENERATE,
MAGIC_LINK_SIGNIN,
} from "constants/api-routes";
import { SIGN_IN_ENDPOINT, SOCIAL_AUTH_ENDPOINT, MAGIC_LINK_GENERATE, MAGIC_LINK_SIGNIN } from "constants/api-routes";
// services
import APIService from "lib/services/api.service";
const { NEXT_PUBLIC_API_BASE_URL } = process.env;
class AuthService extends APIService {
constructor() {
super(process.env.NEXT_PUBLIC_API_BASE_URL || "http://localhost:8000");
super(NEXT_PUBLIC_API_BASE_URL || "http://localhost:8000");
}
async emailLogin(data: any) {