Closed a-jaxell closed 9 months ago
Changed API methods into server methods and fixed the enum values of ActivityType and ActivityForm being set as all caps before POST to synergize with enums being parsed correctly in JAVA.
{Object.values(ActivityFormat).map((format) => { return <option key={format} value={format.toUpperCase()}>{format}</option> })}
string "CLASS" - parses into - > enum ActivityFormat.CLASS
resolves #19
Changed API methods into server methods and fixed the enum values of ActivityType and ActivityForm being set as all caps before POST to synergize with enums being parsed correctly in JAVA.
Example:
resolves #19