mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 12:36:24 +08:00
feat(server): update trascript endpoint (#11196)
This commit is contained in:
@@ -385,6 +385,7 @@ const actions = [
|
||||
{
|
||||
promptName: [
|
||||
'Summary',
|
||||
'Summary as title',
|
||||
'Explain this',
|
||||
'Write an article about this',
|
||||
'Write a twitter about this',
|
||||
|
||||
@@ -86,7 +86,11 @@ test('should update job', async t => {
|
||||
type: AiJobType.transcription,
|
||||
});
|
||||
|
||||
const hasJob = await t.context.copilotJob.has(workspace.id, 'blob-id');
|
||||
const hasJob = await t.context.copilotJob.has(
|
||||
user.id,
|
||||
workspace.id,
|
||||
'blob-id'
|
||||
);
|
||||
t.true(hasJob);
|
||||
|
||||
const job = await t.context.copilotJob.get(jobId);
|
||||
|
||||
Reference in New Issue
Block a user