fix add facebook page flow
This commit is contained in:
1 parent
703ffe34b2
commit
b6aba699c9
2 files changed
+13
No files matched your search
@@ -38,6 +38,9 @@ func GetFacebookPageByID(id string) (page *FacebookPageModel, err error) {
|
||||
if err != nil && err != sql.ErrNoRows {
|
||||
return
|
||||
}
|
||||
if err == sql.ErrNoRows {
|
||||
page = nil
|
||||
}
|
||||
return page, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user