🐛 Fix item version update related notification (#470)
* version notification * updated version notification e2e test --------- Co-authored-by: Monta <monta@HP-ProBook-445-14-inch-G9-Notebook-PC-505aadfc.localdomain>
This commit is contained in:
@@ -40,8 +40,9 @@ export const e2e_createVersion = async (
|
||||
platform: TestPlatform,
|
||||
id: string,
|
||||
payload: Partial<FileVersion>,
|
||||
jwt?: string,
|
||||
) => {
|
||||
const token = await platform.auth.getJWTToken();
|
||||
const token = jwt ?? (await platform.auth.getJWTToken());
|
||||
|
||||
return await platform.app.inject({
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user