fix: report upload missing imageUrls field
This commit is contained in:
@@ -51,6 +51,7 @@ export async function uploadReport(data: { title: string; category: string }): P
|
||||
const res = await api.post<RawReport>('/api/reports', {
|
||||
title: data.title,
|
||||
category: data.category,
|
||||
imageUrls: [],
|
||||
});
|
||||
return mapReport(res.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user