Feat get asciicast from model (#175)

* Get the asciicast from the model
This commit is contained in:
Carlos Alcaide Corvo authored and GitHub committed 2023-03-31 13:55:58 -07:00
1 parent 8c01ec2f20
commit 3bf2620b2c
1 file changed
+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,
};
}
}