We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95234d6 commit 49a166dCopy full SHA for 49a166d
nexus/db-queries/src/db/datastore/device_auth.rs
@@ -201,9 +201,6 @@ impl DataStore {
201
.is_null()
202
.or(dsl::time_expires.gt(Utc::now())),
203
)
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
207
.select(DeviceAccessToken::as_select())
208
.load_async(&*self.pool_connection_authorized(opctx).await?)
209
.await
0 commit comments