fix bad >:( url for fetchwing gwade data
This commit is contained in:
parent
b110e0d70b
commit
ea11534cc3
@ -48,8 +48,9 @@ func (gg Grades) Print() {
|
||||
// Grades returns a list of the grades of all graded or signed up modules
|
||||
func (s *Session) Grades() (Grades, error) {
|
||||
var grades Grades
|
||||
|
||||
client := &http.Client{}
|
||||
url := "https://lsf.hs-worms.de/qisserver/rds?state=notenspiegelStudent&next=list.vm&nextdir=qispos/notenspiegel/student&createInfos=Y&struct=auswahlBaum&nodeID=auswahlBaum%7Cabschluss%3Aabschl%3D05%2Cstgnr%3D1%7Cstudiengang%3Astg%3D938%2Cpversion%3D2018&expand=0&asi=" + s.ASI
|
||||
url := "https://lsf.hs-worms.de/qisserver/rds?state=notenspiegelStudent&next=list.vm&nextdir=qispos/notenspiegel/student&createInfos=Y&struct=auswahlBaum&nodeID=auswahlBaum%7Cabschluss%3Aabschl%3D05%2Cstgnr%3D1%7Cstudiengang%3Astg%3DC37%2Cpversion%3D2018&expand=0&asi=" + s.ASI
|
||||
req, err := http.NewRequest("GET", url, nil)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "could not prepare the request")
|
||||
|
Loading…
x
Reference in New Issue
Block a user