mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 13:27:46 +00:00
Update backend/src/services/service-token/service-token-dal.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
greptile-apps[bot]
parent
80352acc8a
commit
cac4f30ca8
@@ -49,7 +49,7 @@ export const serviceTokenDALFactory = (db: TDbClient) => {
|
|||||||
|
|
||||||
return docs;
|
return docs;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
throw new DatabaseError({ error: err, name: "FindById" });
|
throw new DatabaseError({ error: err, name: "FindExpiredTokens" });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return { ...stOrm, findById, findExpiredTokens };
|
return { ...stOrm, findById, findExpiredTokens };
|
||||||
|
|||||||
Reference in New Issue
Block a user