Exploit databaseDownload repository ZIP
GH-8314079936adc0a0272c0784ab43e406
ahmedhanyonly/nextjs-admin-dashboard-main
Sources for CVE-2025-29927
158 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files8
ahmedhanyonly/nextjs-admin-dashboard-mainRevision b8ebd7d104ba
- ↑..Parent directory
- auth.ts
- categories.ts
- clients.ts
- paymentMethods.ts
- products.ts
- selectedData.ts
- units.ts
- users.ts
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/api/methods/users.ts
TypeScript · 411 bytesimport api from "../api";
export const getProducts = async () => {
const response = await api.get("/products");
return response.data;
};
export const getProductById = async (id: string) => {
const response = await api.get(`/products/${id}`);
return response.data;
};
export const createProduct = async (data: any) => {
const response = await api.post("/products", data);
return response.data;
};