fix: Bug fixed für alle Seiten und das Profil und label
This commit is contained in:
1 parent
133edcd5ba
commit
0a52b29c57
52 files changed
+1290
-129
No files matched your search
@@ -7,6 +7,7 @@ import {
|
||||
HoneyBatchStatus,
|
||||
RelocateHoneyBatchInput,
|
||||
Traceability,
|
||||
UpdateHoneyBatchInput,
|
||||
} from "./types";
|
||||
|
||||
export interface HoneyBatchFilter {
|
||||
@@ -35,6 +36,16 @@ export function createHoneyBatch(input: CreateHoneyBatchInput): Promise<HoneyBat
|
||||
});
|
||||
}
|
||||
|
||||
export function updateHoneyBatch(
|
||||
id: string,
|
||||
input: UpdateHoneyBatchInput,
|
||||
): Promise<HoneyBatch> {
|
||||
return apiFetch<HoneyBatch>(`/honey-batches/${id}`, {
|
||||
method: "PATCH",
|
||||
body: JSON.stringify(input),
|
||||
});
|
||||
}
|
||||
|
||||
export function addHoneyMeasurement(
|
||||
id: string,
|
||||
input: CreateHoneyMeasurementInput,
|
||||
|
||||
Reference in new issue
Block a user