瀏覽代碼

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
 }