MCPcopy Create free account
hub / github.com/ShareDropio/sharedrop / beforeModel

Function beforeModel

app/routes/index.js:7–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6export default Route.extend({
7 beforeModel() {
8 const { error } = window.Sharedrop;
9
10 if (error) {
11 throw new Error(error);
12 }
13 },
14
15 model() {
16 // Get room name from the server

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected