소스 검색

Removed comment.

Bruce Marriner 9 년 전
부모
커밋
f1775b9440
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      restapi.go

+ 1 - 1
restapi.go

@@ -111,10 +111,10 @@ func (s *Session) Login(email string, password string) (token string, err error)
 
 	var temp map[string]interface{}
 	err = json.Unmarshal(response, &temp)
-	// prevent crashing by manipulating a map that has no data
 	if err != nil {
 		return
 	}
+
 	token = temp["token"].(string)
 	return
 }