refactor: don't create unnecessary reference

This commit is contained in:
Paul Makles authored and Paul Makles committed 2023-10-26 14:12:28 +01:00
1 parent c5494aa1ca
commit 39ac8b2278
1 file changed
+1 -1
@@ -96,7 +96,7 @@ pub async fn req(
// Queue up a task for processing embeds if the we have sufficient permissions
if permissions
.has_permission(&db, Permission::SendEmbeds)
.has_permission(db, Permission::SendEmbeds)
.await?
{
if let Some(content) = edit.content {