refactor: 💡 Add channel ability for asciicasts (#174)

This commit is contained in:
Zhihe Li authored and GitHub committed 2023-03-31 21:19:46 +00:00
1 parent 3bf2620b2c
commit 62ec3fe914
14 files changed
+1783 -860

No files matched your search

@@ -1,4 +1,5 @@
import ApplicationAdapter from './application';
import { MIME_TYPE_ASCIICAST } from 'api/models/channel-recording';
export default class SessionRecordingAdapter extends ApplicationAdapter {
/**
@@ -49,7 +50,7 @@ export default class SessionRecordingAdapter extends ApplicationAdapter {
getAsciicast(id) {
return this.getRecordingDownload({
id,
mimeType: 'application/x-asciicast',
mimeType: MIME_TYPE_ASCIICAST,
});
}
}