fixes preview thumbnail vanishing
This commit is contained in:
@@ -228,6 +228,8 @@ export async function trails_create(trail: Trail, photos: File[], gpx: File | Bl
|
||||
throw new APIError(r.status, response.message, response.detail)
|
||||
}
|
||||
|
||||
model = await r.json();
|
||||
|
||||
return model;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user