mirror of
https://github.com/nov/fb_graph2
synced 2023-03-27 23:22:15 -04:00
FB fixed unexpected format of "summary" bug
https://developers.facebook.com/bugs/718373648210494
This commit is contained in:
parent
576ae73e80
commit
e7d4e4308b
1 changed files with 0 additions and 2 deletions
|
@ -34,8 +34,6 @@ module FbGraph2
|
||||||
end
|
end
|
||||||
|
|
||||||
def summarize(summary)
|
def summarize(summary)
|
||||||
# NOTE: notifications edge returns "summary" as a blank Array.
|
|
||||||
summary = Hash(summary)
|
|
||||||
self.order = summary.try(:[], :order)
|
self.order = summary.try(:[], :order)
|
||||||
self.total_count = summary.try(:[], :total_count)
|
self.total_count = summary.try(:[], :total_count)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue