added new style
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import apiClient from "@/app/lib/apiClient";
|
||||
|
||||
export async function changePass(data: any) {
|
||||
try {
|
||||
const response = await apiClient.post("/user/change-password", data);
|
||||
return response.data;
|
||||
} catch (error: any) {
|
||||
const msg =
|
||||
error.response?.data?.error ||
|
||||
error.message ||
|
||||
"Error desconocido al cobrar impresión";
|
||||
return { error: msg };
|
||||
}
|
||||
}
|
||||
//IO
|
||||
@@ -1,4 +1,4 @@
|
||||
import apiClient from "@/app/lib/apiClient";
|
||||
import apiClient from "./apiClient";
|
||||
|
||||
export async function PostImpressions(data: any) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user