Skip to content

Commit 49a166d

Browse files
committed
remove TODO comment
1 parent 95234d6 commit 49a166d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

nexus/db-queries/src/db/datastore/device_auth.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,6 @@ impl DataStore {
201201
.is_null()
202202
.or(dsl::time_expires.gt(Utc::now())),
203203
)
204-
// TODO: what if we used a different model struct here so we're not
205-
// pulling less out of the DB and it's harder to accidentally return
206-
// the token itself
207204
.select(DeviceAccessToken::as_select())
208205
.load_async(&*self.pool_connection_authorized(opctx).await?)
209206
.await

0 commit comments

Comments
 (0)