mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-28 17:50:28 +08:00
Run patch editing sequentially
This commit is contained in:
@@ -710,15 +710,13 @@
|
||||
patchState = "submit";
|
||||
if (session) {
|
||||
try {
|
||||
await Promise.all([
|
||||
editPatch(session.id, patch.title),
|
||||
editRevision(
|
||||
session.id,
|
||||
patch.id,
|
||||
comment,
|
||||
Array.from(embeds.values()),
|
||||
),
|
||||
]);
|
||||
await editPatch(session.id, patch.title);
|
||||
await editRevision(
|
||||
session.id,
|
||||
patch.id,
|
||||
comment,
|
||||
Array.from(embeds.values()),
|
||||
);
|
||||
} finally {
|
||||
patchState = "read";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user