feat(inventory): add origin field to InventoryItem and update related DTOs and services
This commit is contained in:
@@ -16,8 +16,8 @@ export async function GET(req: NextRequest) {
|
||||
}
|
||||
|
||||
export async function POST(req: NextRequest) {
|
||||
const authHeaders = await getAuthHeaders();
|
||||
const body = await req.json();
|
||||
const authHeaders = await getAuthHeaders();
|
||||
const res = await fetch(`${API_BASE}/api/products`, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json', ...authHeaders },
|
||||
|
||||
Reference in New Issue
Block a user