Feat get asciicast from model (#175)
* Get the asciicast from the model
This commit is contained in:
1 parent
8c01ec2f20
commit
3bf2620b2c
1 file changed
+2
-4
+2
-4
@@ -14,15 +14,13 @@ export default class ScopesScopeSessionRecordingsSessionRecordingChannelsByConne
|
||||
'channel-recording',
|
||||
channel_id
|
||||
);
|
||||
|
||||
const response = await fetch('/session.cast');
|
||||
const asciicast = await response.text();
|
||||
const asciicast = await channelRecording.getAsciicast();
|
||||
|
||||
return {
|
||||
channelRecording,
|
||||
sessionRecording,
|
||||
storageBucket,
|
||||
asciicast: asciicast,
|
||||
asciicast,
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user