mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user