fix : on ne pèse plus automatiquement + fix message de création réception
This commit is contained in:
@@ -21,6 +21,7 @@ export async function getReception(id: number) {
|
||||
export async function createReception(payload: ReceptionPayload = {}) {
|
||||
const api = useApi()
|
||||
return api.post<ReceptionData>('receptions', payload, {
|
||||
toastSuccessKey: 'success.reception.create',
|
||||
toastErrorKey: 'errors.reception.create'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user