This PR modifies the /class-for-student-story endpoint to return the size of the class (determined by a query on the StudentsClasses table). This is the endpoint that the Hubble app hits to determine which class info. This allows the app to know the size of the class, to use for things like the stage 4 waiting screen. Presumably future stories will be able to make use of this information as well.
This PR modifies the
/class-for-student-story
endpoint to return the size of the class (determined by a query on theStudentsClasses
table). This is the endpoint that the Hubble app hits to determine which class info. This allows the app to know the size of the class, to use for things like the stage 4 waiting screen. Presumably future stories will be able to make use of this information as well.