fix(studio): refused group, freeze frame and animation saves keep the server's status (#8178)

* fix(studio): refused group, freeze frame and animation saves keep the server's status

* refactor(studio): withStatus says what it does without a comment
This commit is contained in:
Miguel Ángel
2026-11-18 12:39:41 +00:00
committed by GitHub
parent 4bdf9181b4
commit 2efb55ecb5
7 changed files with 53 additions and 10 deletions
@@ -262,6 +262,8 @@ function heldFileMessage(body: string, path: string | undefined): string | null
}
}
export const withStatus = (words: string, response: Response) => `${words} (${response.status})`;
export async function heldFileWordsOf(response: Response, path: string): Promise<string | null> {
return heldFileMessage(
await response