forked from Ivasoft/mattermost-mobile
remove surrounding parenthesis
This commit is contained in:
@@ -326,7 +326,7 @@ export const getTeamById = async (database: Database, teamId: string) => {
|
|||||||
|
|
||||||
export const getTeamSearchHistoryById = async (database: Database, id: string) => {
|
export const getTeamSearchHistoryById = async (database: Database, id: string) => {
|
||||||
try {
|
try {
|
||||||
const teamSearchHistory = (await database.get<TeamSearchHistoryModel>(TEAM_SEARCH_HISTORY).find(id));
|
const teamSearchHistory = await database.get<TeamSearchHistoryModel>(TEAM_SEARCH_HISTORY).find(id);
|
||||||
return teamSearchHistory;
|
return teamSearchHistory;
|
||||||
} catch {
|
} catch {
|
||||||
return undefined;
|
return undefined;
|
||||||
|
|||||||
Reference in New Issue
Block a user