add latitude & longitude
This commit is contained in:
@@ -389,7 +389,7 @@ public class EventApiController : BaseController
|
||||
};
|
||||
AddPhotoItem(p);
|
||||
|
||||
await WriteToFile(user.Id, record.FlowerId, file, token);
|
||||
await WriteToFile(record.FlowerId, file, token);
|
||||
});
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -483,7 +483,7 @@ public class EventApiController : BaseController
|
||||
};
|
||||
AddPhotoItem(p);
|
||||
|
||||
await WriteToFile(user.Id, record.FlowerId, file, token);
|
||||
await WriteToFile(record.FlowerId, file, token);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -555,7 +555,7 @@ public class EventApiController : BaseController
|
||||
|
||||
if (photo.Record != null)
|
||||
{
|
||||
DeleteFile(user.Id, photo.Record.FlowerId, photo.Path);
|
||||
DeleteFile(photo.Record.FlowerId, photo.Path);
|
||||
}
|
||||
|
||||
return NoContent();
|
||||
@@ -613,7 +613,7 @@ public class EventApiController : BaseController
|
||||
{
|
||||
if (photo.Record != null)
|
||||
{
|
||||
DeleteFile(user.Id, photo.Record.FlowerId, photo.Path);
|
||||
DeleteFile(photo.Record.FlowerId, photo.Path);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user