diff --git a/lib/asana/resources/section.rb b/lib/asana/resources/section.rb index 24f40c6..bb7ae03 100644 --- a/lib/asana/resources/section.rb +++ b/lib/asana/resources/section.rb @@ -53,7 +53,7 @@ def find_by_project(client, project: required("project"), per_page: 20, options: # options - [Hash] the request I/O options. def find_by_id(client, id, options: {}) - self.new(parse(client.get("/sections/#{gid}", options: options)).first, client: client) + self.new(parse(client.get("/sections/#{id}", options: options)).first, client: client) end end