From e1ac33576a78c4860fabcbd5ab314970a0e6e4a8 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 3 Oct 2021 21:49:55 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Hypolite Petovan --- include/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/api.php b/include/api.php index 8566c1706b..b6f2ab889f 100644 --- a/include/api.php +++ b/include/api.php @@ -2056,7 +2056,7 @@ function api_statuses_repeat($type) $id = intval(DI::args()->getArgv()[4] ?? 0); } - logger::notice('API: api_statuses_repeat: '.$id); + logger::notice('API: api_statuses_repeat: ' . $id); $fields = ['uri-id', 'network', 'body', 'title', 'author-name', 'author-link', 'author-avatar', 'guid', 'created', 'plink']; $item = Post::selectFirst($fields, ['id' => $id, 'private' => [Item::PUBLIC, Item::UNLISTED]]); @@ -2139,7 +2139,7 @@ function api_statuses_destroy($type) $id = intval(DI::args()->getArgv()[4] ?? 0); } - logger::notice('API: api_statuses_destroy: '.$id); + logger::notice('API: api_statuses_destroy: ' . $id); $ret = api_statuses_show($type);